#include <stdio.h> int main() { int a, b, c, d; long n1, n2; while (scanf("%d.%d.%d.%d", &a, &b, &c, &d) == 4) &n...