import java.util.Scanner; //년도와 월을 입력받아서 달력을 출력public class CalenderMain { public static void main(String[] args) {try(Scanner sc = new Scanner(System.in)) {//년도와 월 입력받기System.out.print("년도:");int year = sc.nextInt();System.out.print("월:");int month = sc.nextInt();//합계를 구할 변수int cnt = 0;//year 이전 까지 지나온 날 수의 합계를 구하기//년은 1부터 시작for(int i=1; i