#include <iostream>
#include <iomanip>
using namespace std;

int main() {

    long long n;
    cin>>n;
    // 使用流操作符设置宽度和填充字符
    cout << setw(9) << setfill('0') << n << endl;
    // string n;
    // cin >> n;
    // int a = 9 - n.size();
 
    // while ( a-- ) {
    //     cout << '0' ;
    // }
    // cout << n;
}
// 64 位输出请用 printf("%lld")

自存