Problem:
Score : 100 points

Problem Statement

This contest, AtCoder Beginner Contest, is abbreviated as ABC.

When we refer to a specific round of ABC, a three-digit number is appended after ABC. For example, ABC680 is the 680th round of ABC.

What is the abbreviation for the N-th round of ABC? Write a program to output the answer.

Constraints

100 ≤ N ≤ 999

Input

Input is given from Standard Input in the following format:

N

Output

Print the abbreviation for the N-th round of ABC.

Sample Input 1

100

Sample Output 1

ABC100

The 100th round of ABC is ABC100.

Sample Input 2

425

Sample Output 2

ABC425

Sample Input 3

999

Sample Output 3

ABC999

Solution in C (Clang 3.8.0) (judge verdict: Wrong Answer)

#include <stdio.h>
int main ()
{
    int a,b,c,d,m,n,i;
    while (~scanf ("%d",&a))
    {

        while (a--)
        {
            n=365*18;
            scanf ("%d-%d-%d",&b,&c,&d);
            m=b+18;
             if (!((m%4==0&&m%100!=0)||(m%400==0)))
            {
                if(c==2&&d==29)
                    {printf("-1\n");break;}
            }
            if (c>2||(c==2&&d==29))
            {
                for (i=b+1; i<=m; i++)
                {
                    if ((i%4==0&&i%100!=0)||(i%400==0))
                        n++;
                }
                printf ("%d\n",n);
            }
            else if (c<=2&&d!=29)
            {
                for (i=b; i<m; i++)
                {
                    if ((i%4==0&&i%100!=0)||(i%400==0))
                        n++;
                }
                printf ("%d\n",n);
            }

        }
    }
    return 0;
}