#include #include using namespace std; using i32 = int; using i64 = long long; using i128 = __int128_t; using f64 = long double; using p2 = pair; using el = tuple; using mint = atcoder::modint998244353; void _main(); int main() { cin.tie(0); ios::sync_with_stdio(false); _main(); } i64 pow(i64 x, i64 n) { i64 res = 1; i64 t = x; while (n > 0) { if (n & 1) { res = res * t; } t = t * t; n >>= 1; } return res; } void _main() { i64 n; cin >> n; vector a(n); for (i64 i = 0; i < n; i++) { cin >> a[i]; } i64 x; cin >> x; cout << "Yes\n"; for (i64 i = 0; i < 4; i++) { for (i64 j = 0; j < 4; j++) { cout << x << " "; } cout << "\n"; } }