#include<bits/stdc++.h> using namespace std; int s,n; int main(){ int s,n; cin>>s; n=s*1000+s; n=n/1001; cout<<n; } /************************************************************** Problem: 1961 User: yangjunwen Language: C++ Result: Accepted Time:10 ms Memory:2072 kb ****************************************************************/