#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #define N 1000 int main() { char a[N]={'\0'},b[N]={'\0'}; char x[N]={'\0'},y[N]={'\0'}; scanf("%[^.].%s",a,b); while(getchar()!='\n'); scanf("%[^.].%s",x,y); /...