N = int(input()) A = list(map(int, input().split())) X = int(input()) print("Yes") a = [str(X)] * 4 for i in range(4): print(*a)