#include<stdio.h>
int main()
{
int M,N;
scanf("%d",&)