import sys input = sys.stdin.readline H,W,X=map(int,input().split()) ANS=[["."]*W for i in range(H)] k=H-1+W-1 if X