K = int(input()) NUPC = [] D = {0:"N", 1:"U", 2:"P", 3:"C"} for bit in range(1<<4): S = [] for i in range(4): S.append(D[i]) if 1<