#include <math.h> #include <stdio.h> int main() { int a; int q, w, e, r; scanf("%d", &a); q = a / 10000; w = a % 10000; e = w / 100; r = w % 100; if (e > 9 && r > 9) { printf("year=%d\nmonth=%d\ndate=%d", q, e, r); ...