#include using namespace std; int N,K; main() { cin>>N>>K; int M; if(N>=K*K)M=(N+K-1)/K; else { while(M*M0?'#':'.'); } cout<