#include <iostream>
using namespace std;
int main(int argc, char** argv){ int Year; cin>>Year; if(Year>0) { if(Year%4==0 && Year%100!=0 || Year%400==0) { cout<<"閏年 \n"; } else { cout<<"平年 \n"; }
}
return 0;}
while(cin >> year){
感謝您!