18 lines
279 B
C
Raw Normal View History

2023-12-01 13:35:13 +01:00
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char **argv) {
int x,y,z;
scanf("%d/%d/%d", &x, &y, &z);
// EU OR US OR EITHER
if (x > 12) {
printf("EU\n");
} else if (y > 12) {
printf("US\n");
} else {
printf("either\n");
}
return 0;
}