#include using namespace std; int N,K; main() { cin>>N>>K; int L=N/(K*K); N%=K*K; int id=0; while(id*id0?'#':'.'); cout<