Problem A: 二维数组输入

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:7 Solved:3

Description

输入n行m列的二维数组,输入一个整数x,将a行b列的数据修改为x{行数,列数从1开始计数},输出修改后的数组。

Input

第1行两个整数n,m(n,m<=100);
第2~n+1行输入n行m列的数据;
第n+2行三个整数x,a,b(1<=x<=10000,1<=a<=n,1<=b<=m);

Output

输出修改后的n行m列的二维数组

Sample Input Copy

3 3
1 2 3
4 5 6
7 8 9
10 2 2

Sample Output Copy

1 2 3
4 10 6
7 8 9

Source/Category