# Contest : Carnival Finale Coding Competition | CodeChef

Author: Codechef Adgitm Chapter : tannatsri | CodeChef User Profile for Tanishq Srivastava | CodeChef
Tester: Codechef Adgitm Chapter : https://www.codechef.com/users/test_account_9
Editorialist: Codechef Adgitm Chapter : https://www.codechef.com/users/test_account_9

Easy

# PROBLEM:

As, vaccination process is rolling out. Prime Minister announces that vaccination will be done on even-odd basis.

Person with eveneven aadhar number will be vaccinated in 20212021 while person with oddodd aadhar number will be vaccinated in 20222022.

Since, you are a tech guy, local people are reaching out to you with their aadhar number to know in which year they will get vaccinated.

Note -: You will get the last 4 digit of their aadhar number (in order to save their privacy).

EXPLANATION:
Use Even Odd concept.

SOLUTION:
C++:

#include
using namespace std;

int main() {

``````int T;
cin>>T;
while(T--)
{
int n;
cin >> n;
if ( n % 2 == 0)
cout << "2021"  <<endl;
else
cout << "2022" <<endl;
}
return 0;
``````

}