import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
import java.util.*;
public class BufferTokenizerTest {
public static void main(String[] args) throws IOException {
// TODO Auto-generated method stub
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st = new StringTokenizer(br.readLine());
// br.readLine 한 줄 통으로 읽고
//토큰으로 구분해서 사용
int N = Integer.parseInt(st.nextToken());
int M = Integer.parseInt(st.nextToken());
}
}