#include using namespace std; #define rep(i,n) for(ll i=0;i<(n);++i) #define reps(i,n) for(ll i=1;i<=(n);++i) using ll = long long; using str = vector; constexpr long long INF = (1LL<<60); constexpr long long MOD = (1e9+7); templateinline T gcd(T a,T b){if(b==0)return a; return(gcd(b,a%b));} templateinline T lcm(T a,T b){return a/gcd(a,b)*b;} templateinline bool chmax(T &a,const T &b){if(ainline bool chmin(T &a,const T &b){if(a>b){a=b;return true;}return false;} inline void dump(){cout<inline void dump(Head&& head, Tail&&... tail){cout<(tail)...);} templateinline istream &operator>>(istream&input,vector&v){for(auto &elemnt:v)input>>elemnt;return input;} main(){ cin.tie(0); ios::sync_with_stdio(0); cout<>n>>k; ll m=(n-1)/k+1; m=max(m,k); cout<=0?k:a); z=m-x-y; a-=k; a=max(a,0ll); num++; rep(i,x)cout<<"."; rep(i,y)cout<<"#"; rep(i,z)cout<<"."; cout<