// editor3
#include<stdio.h>
int main()
{
    int n;
    scanf("%d",&n);
    printf("%d\n%02d\n%03d\n%04d\n%05d\n%06d",n,n,n,n,n,n)
}