#include <stdio.h>

int main() {
    int n;
    scanf("%d", &n);
    printf("%09d\n", n);  // 输出宽度9位,前导补零
    return 0;
}