#include using namespace std; using ll = long long; int main() { cin.tie(nullptr); ios_base::sync_with_stdio(false); int n; cin >> n; vector a(n); for (int &ai : a) cin >> ai; int x; cin >> x; cout << "Yes" << "\n"; for (int i = 0; i < 4; i++) { for (int j = 0; j < 4; j++) { cout << x << (j == 3 ? "\n" : " "); } } return 0; }