N = int(input()) S = input() if N%2: exit(print('No')) A, B = "", "" for i in range(N): if i%2: B += S[i] else: A += S[i] print("Yes") print(A, B)