# include<stdio.h>
int main()
{
    int N;
    char a='A';char b= 'B';char c= 'C';
    scanf("%d",&N);
    if(N>=100&&N<=999)
    {putchar('A');putchar('B');putchar('C');printf("%d\n",N);}

    return 0;
}
