#include using namespace std; int Length(int n){ int s=0; while(n>0){ n=n/10; ++s; } return s; } int main(){ int n; cin>>n; cout<