#include #include using namespace std; int main() { short Y, N = 0; cin >> Y; while (Y < 2017) { N++; Y++; } cout << N << endl; return 0; }