#include <stdio.h> #include <stdlib.h> int main() { int N; int x,y,z; scanf("%d",&N); scanf("%d %d %d",&x,&y,&z); int value=0,curr=0; int fadedFore=-1,fadedLast=-1; for(int maxPos=1;maxPos<10;maxPos++){ for(int ...