n = int(input()) a = list(map(int, input().split())) x = int(input()) print('Yes') for _ in range(4): print(x, x, x, x)