#include <stdio.h>
#include <string.h>
int hasZeroInCenter(int num) {
char str[20];
sprintf(str, "%d", num); // Convert number to string
int len = strlen(str);
if (len % 2 == 0) {
return 0; // Even length = no center digit
}
int centerIndex = len / 2;
return str[centerIndex] == '0';
}
int main() {
int num = 3720961;
if (hasZeroInCenter(num)) {
printf("yes\n");
} else {
printf("no\n");
}
return 0;
}
/*
run:
yes
*/