https://www.acmicpc.net/problem/2753
import java.util.* fun main(args: Array<String>) { val s=Scanner(System.`in`) var n=s.nextInt() if(n%4==0 && n%100!=0 || n%400==0) print(1); else print(0); }