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