k = int(input()) n = 4 d = [] nupc = ["N", "U", "P", "C"] for i in range(2**n): tmp = "" for j in range(n): tmp += nupc[j] if i & (1<