#include <stdio.h>#include <math.h>#include <stdlib.h>int main(void) { int pos; int last,now; int flag = 0; while (scanf("%d",&pos) != EOF && pos < 5280) {last = 0;if(flag++)printf("n");while(scanf("%d",&now) != EOF){printf("Moving from %d to %d: ",last,now);if(now==pos){printf("found it!n"); break;}else if(abs(now-pos)<abs(last-pos))printf("warmer.n");else if(abs(now-pos)>abs(last-pos))printf("colder.n");else printf("same.n");last = now;} } return 0; }


