{"raw_statement":[{"iden":"problem statement","content":"You are given four integers: $H$, $W$, $h$ and $w$ ($1 ≤ h ≤ H$, $1 ≤ w ≤ W$). Determine whether there exists a matrix such that all of the following conditions are held, and construct one such matrix if the answer is positive:\n\n*   The matrix has $H$ rows and $W$ columns.\n*   Each element of the matrix is an integer between $-10^9$ and $10^9$ (inclusive).\n*   The sum of all the elements of the matrix is positive.\n*   The sum of all the elements within every subrectangle with $h$ rows and $w$ columns in the matrix is negative."},{"iden":"constraints","content":"*   $1 ≤ h ≤ H ≤ 500$\n*   $1 ≤ w ≤ W ≤ 500$"},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$H$ $W$ $h$ $w$"},{"iden":"sample input 1","content":"3 3 2 2"},{"iden":"sample output 1","content":"Yes\n1 1 1\n1 -4 1\n1 1 1\n\nThe sum of all the elements of this matrix is $4$, which is positive. Also, in this matrix, there are four subrectangles with $2$ rows and $2$ columns as shown below. For each of them, the sum of all the elements inside is $-1$, which is negative.\n\n![image](https://atcoder.jp/img/agc016/bbdb651fa1f05996886da9f0c4d8090a.png)"},{"iden":"sample input 2","content":"2 4 1 2"},{"iden":"sample output 2","content":"No"},{"iden":"sample input 3","content":"3 4 2 3"},{"iden":"sample output 3","content":"Yes\n2 -5 8 7\n3 -5 -4 -5\n2 1 -1 7"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}