#include <stdio.h>
void main()
{
    int n,w;
    scanf("%d",&n);
    for(w=1;w<7;w++)
    printf("0*%d",w,n);
}