#include <stdio.h>

int main() {
    int A, B, C;
    scanf("%d", &A);
    scanf("%d", &B);
    scanf("%d", &C);
    if(A!=B && A!=C){
        printf("A");
    }
    else if(B!=A && B!=C){
        printf("B");
    }
    else if(C!=A && C!= B){
        printf("C");
    }
    else{
        printf("*");
    }
    return 0;
}

Embed on website

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