n = int(input())
s = input()
if n % 2 == 0:
    print('Yes')
    print(s[0::2], s[1::2])
else:
    print('No')