#include <iostream> using namespace std; int main(){ int h; cin>>h; h=(1-h%1)+h; cout<<h<<endl; return 0; }