public static void main ( String [ ] args ) {
  DataSet d = new DataSet ( ) ;
  d . input ( ) ;
  if ( d . H % d . h == 0 && d . W % d . w == 0 ) System . out . println ( "No" ) ;
  else if ( d . H % d . h != 0 ) {
    System . out . println ( "Yes" ) ;
    for ( int i = 0 ;
    i < d . H ;
    i ++ ) {
      for ( int j = 0 ;
      j < d . W ;
      j ++ ) {
        System . out . print ( ( i % d . h == 0 ) ? 1000 * d . h - 1001 : - 1000 ) ;
        if ( j == d . W - 1 ) System . out . println ( ) ;
        else System . out . print ( " " ) ;
      }
    }
  }
  else if ( d . W % d . w != 0 ) {
    System . out . println ( "Yes" ) ;
    for ( int i = 0 ;
    i < d . H ;
    i ++ ) {
      for ( int j = 0 ;
      j < d . W ;
      j ++ ) {
        System . out . print ( ( j % d . w == 0 ) ? 1000 * d . w - 1001 : - 1000 ) ;
        if ( j == d . W - 1 ) System . out . println ( ) ;
        else System . out . print ( " " ) ;
      }
    }
  }
}

public static void main ( String [ ] args ) { DataSet d = new DataSet ( ) ; d . input ( ) ; if ( d . H % d . h == 0 && d . W % d . w == 0 ) System . out . println ( " No " ) ; else if ( d . H % d . h != 0 ) { System . out . println ( " Yes " ) ; for ( int i = 0 ; i < d . H ; i ++ ) { for ( int j = 0 ; j < d . W ; j ++ ) { System . out . print ( ( i % d . h == 0 ) ? 1000 * d . h - 1001 : - 1000 ) ; if ( j == d . W - 1 ) System . out . println ( ) ; else System . out . print ( " ▁ " ) ; } } } else if ( d . W % d . w != 0 ) { System . out . println ( " Yes " ) ; for ( int i = 0 ; i < d . H ; i ++ ) { for ( int j = 0 ; j < d . W ; j ++ ) { System . out . print ( ( j % d . w == 0 ) ? 1000 * d . w - 1001 : - 1000 ) ; if ( j == d . W - 1 ) System . out . println ( ) ; else System . out . print ( " ▁ " ) ; } } } }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (array_type element: (type_identifier) dimensions: (dimensions)) name: (identifier))) body: (block (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (object_creation_expression type: (type_identifier) arguments: (argument_list)))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (field_access object: (identifier) field: (identifier)) right: (field_access object: (identifier) field: (identifier))) right: (decimal_integer_literal)) right: (binary_expression left: (binary_expression left: (field_access object: (identifier) field: (identifier)) right: (field_access object: (identifier) field: (identifier))) right: (decimal_integer_literal)))) consequence: (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal)))) alternative: (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (field_access object: (identifier) field: (identifier)) right: (field_access object: (identifier) field: (identifier))) right: (decimal_integer_literal))) consequence: (block (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal)))) (for_statement init: (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) condition: (binary_expression left: (identifier) right: (field_access object: (identifier) field: (identifier))) update: (update_expression (identifier)) body: (block (for_statement init: (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) condition: (binary_expression left: (identifier) right: (field_access object: (identifier) field: (identifier))) update: (update_expression (identifier)) body: (block (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (ternary_expression condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (field_access object: (identifier) field: (identifier))) right: (decimal_integer_literal))) consequence: (binary_expression left: (binary_expression left: (decimal_integer_literal) right: (field_access object: (identifier) field: (identifier))) right: (decimal_integer_literal)) alternative: (unary_expression operand: (decimal_integer_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (field_access object: (identifier) field: (identifier)) right: (decimal_integer_literal)))) consequence: (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list))) alternative: (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal)))))))))) alternative: (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (field_access object: (identifier) field: (identifier)) right: (field_access object: (identifier) field: (identifier))) right: (decimal_integer_literal))) consequence: (block (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal)))) (for_statement init: (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) condition: (binary_expression left: (identifier) right: (field_access object: (identifier) field: (identifier))) update: (update_expression (identifier)) body: (block (for_statement init: (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) condition: (binary_expression left: (identifier) right: (field_access object: (identifier) field: (identifier))) update: (update_expression (identifier)) body: (block (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (ternary_expression condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (field_access object: (identifier) field: (identifier))) right: (decimal_integer_literal))) consequence: (binary_expression left: (binary_expression left: (decimal_integer_literal) right: (field_access object: (identifier) field: (identifier))) right: (decimal_integer_literal)) alternative: (unary_expression operand: (decimal_integer_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (field_access object: (identifier) field: (identifier)) right: (decimal_integer_literal)))) consequence: (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list))) alternative: (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal)))))))))))))))