/** @file 530.cpp @title No.530 年齢って毎年変わるし覚えるの難しいよね - yukicoder @url https://yukicoder.me/problems/no/530 **/ #include using namespace std; typedef long long LL; #define ALL(obj) (obj).begin(), (obj).end() #define REP(i, N) for (int i = 0; i < (N); ++i) int main() { int Y; cin >> Y; cout << 2017 - Y << endl; return 0; }