"""
Here is my coding space
    Caffeineholic
                    ) ) )
                    ( ( (
                    ████╗   < 2 hot!
                    ████║
                    ████╝
"""
N = int(input())
S = list(input())

if N%2 == 0:
    P, Q = [S[i] for i in range(0,N-1,2)], [S[j] for j in range(1,N,2)]
    print('Yes')
    print("".join(P), "".join(Q))
else:
    print('No')