n=input() for i in range(2**n):_='';exec"_='.#'[i%2]+_;i/=2;"*n;print _