A = [ "NUPC", "NUPCNUPC", "NUPNUPC", "NUPNUPCNUPNUPC", "NUNUPC", "NUNUPCNUNUPC", "NUNUPNUNUPC", "NUNUPNUNUPCNUNUPNUNUPC", "NNUPC", "NNUPCNNUPC", "NNUPNNUPC", "NNUPNNUPCNNUPNNUPC", "NNUNNUPC", "NNUNNUPCNNUNNUPC", "NNUNNUPNNUNNUPC", "NNUNNUPNNUNNUPCNNUNNUPNNUNNUPC", ] A = sorted(A) print(A[int(input())-1])