#include <stdio.h>
int main()
{
    int a,b,c,d=65;
    scanf("%d",&a);
    b=(a-4)%12;
    c=(a-4)%10;
    for(int i=0;i<12;i++)
    {
         if(b==i)
         {
             printf("%c",d);
         }
        d++;
    }
        for(int i=0;i<10;i++)
    {
         if(c==i)
         {
             printf("%d",i);
         }
    }
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: