// editor1
#include<iostream>
using namespace std;
int main(){
    int n
    cin>>n;
    cout<<left_rotate(n)<<endl;
    return 0;
}