public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner scan = new Scanner(System.in);

		System.out.println("月を入力せよ　＞");
		int num1;
		num1 = scan.nextInt();

		if( num1 == 1){
			System.out.println(num1 + "月は31日です");
		}else
			if( num1 ==2){
				System.out.println(num1 + "月は28日です");			
			}else
				if( num1 ==3){
					System.out.println(num1 + "月は31日です");		
				}else
					if( num1 ==4){
						System.out.println(num1 + "月は30日です");	
					}else
						if( num1 ==5){
							System.out.println(num1 + "月は31日です");	
							}else
								if( num1 ==6){
									System.out.println(num1 + "月は30日です");
								}else
									if( num1 ==7){
										System.out.println(num1 + "月は31日です");
									}else
										if( num1 ==8){
											System.out.println(num1 + "月は31日です");	
										}else
											if( num1 ==9){
												System.out.println(num1 + "月は30日です");
											}else
												if( num1 ==10){
													System.out.println(num1 + "月は31日です");
												}else
													if( num1 ==11){
														System.out.println(num1 + "月は30日です");
													}else
														if( num1 ==12){
															System.out.println(num1 + "月は31日です");
															

		}


	}}