/*
#include<stdio.h>
int main()
{
int a;
scanf("%d",&a);
if(a>=50&&a<=70||a%6==0)
{
printf("win");
}
else
{
printf("lose");
}
return 0;
}
*/
/*
#include<stdio.h>
int main()
{
int a;
scanf("%d",&a);
if()
{
printf("oh my god");
}
else
{
printf("enjoy");
}
return 0;
}
*/
/*
#include<stdio.h>
int main()
{
int a;
scanf("%d",&a);
switch(a)
{
case 1:
printf("oh my god");
break;
case 2:
printf("enjoy");
break;
case 3:
printf("oh my god");
break;
case 4:
printf("enjoy");
break;
case 5:
printf("oh my god");
break;
case 6:
printf("enjoy");
break;
case 7:
printf("oh my god");
break;
default:
printf("enjoy");
}
return 0;
}
*/
/*
#include<stdio.h>
int main()
{
int a;
scanf("%d",&a);
switch(a)
{
case 1:
case 3:
case 5:
case 7:
printf("oh my god");
break;
default:
printf("enjoy");
}
return 0;
}
*/
/*
#include<stdio.h>
int main()
{
int a,b;
scanf("%d %d",&a,&b);
if(b==1||b==2)
{
printf("%d",2013-(a/10000+1900));
}
else if(b==3||b==4)
{
printf("%d",2013-(a/10000+2000));
}
}
*/
/*
#include<stdio.h>
int main()
{
int a,b;
scanf("%d",&a);
if(a>13)
{
printf("%d 1",113-a);
}
else if(a<=13)
{
printf("%d 3",13-a);
}
}
*/
#include<stdio.h>
int main()
{
int a,b,c;
scanf("%d %d %d",&a,&b,&c);
if(c<10)
{
printf("%d%d0%d",a,b,c);
}
else {
printf("%d%d%d",a,b,c);
}
}