#include using namespace std; #define rep(i,n) for(int i=0;i<(n);i++) #define pb push_back #define all(v) (v).begin(),(v).end() typedef vectorvint; typedef pairpint; int N,K; int S[100000]; int main(){ cin>>N>>K; string str;cin>>str; rep(i,N)S[i]=str[i]-'0'; rep(i,10*N)S[i+N]=S[i]; int len=0,val=0,get=0; rep(i,100000){ if(i%N==0&&i&&get==0){ len=i; break; } if(K==i){ cout<1145){ cout<