#include<stdio.h>
int main(){
    int i, num;
    scanf("%d",&num);
    printf("%0*d\n",num);
}