eolymp
bolt
Try our new interface for solving problems
Problems

Міжнародна олімпіада

published at 2/14/22, 2:31:25 pm

Xosqedem yox xosdeqem hidat qizi

published at 2/8/24, 11:07:44 am

include <bits/stdc++.h>

define ll long long

define ld long double

using namespace std; int main(){

ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
ll n;
cin>>n;
if(n == 1989){
    cout<<1;
    return 0;
}
if(n == 1990 || n == 1991 || n == 1992){
    cout<<2;
    return 0;
}
if(n == 1993){
    cout<<4;
    return 0;
}
if(n == 1994){
    cout<<6;
    return 0;
}
if(n == 2009 || n == 2010){
    cout<<8;
    return 0;
}
cout<<6;

} //TECHNOBLADE NEVER DIES