import java.util.*; public class Yukicoder_26{ public static void main(String[] args){ Scanner stdIn = new Scanner(System.in); int N = stdIn.nextInt(); int M = stdIn.nextInt(); boolean[] judg = new boolean[4]; judg[N] = true; for(int i=0;i