#include <stdio.h>int main() { int a, b, c, d; while (scanf("%d %d %d %d", &a, &b, &c, &d) != EOF) { int temp[4]={}; int max = temp[0]; for (int i = 0; i <= 3; i++) { switch (i) { case 0: temp[...