본문 바로가기
Beakjoon&프로그래머스/Java

[백준/Java] 15963번 CASIO

by 현장 2022. 4. 17.

-Code

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long n = sc.nextLong();
        long m = sc.nextLong();
        if (n == m) {
            System.out.println(1);
        } else {
            System.out.println(0);
        }
    }
}