#include #include #include #include #include int main(void) { int times; int position=0,nextposition,dif; bool record=true; scanf("%d",×); for(int i=0;i