/* Solution to ghostleg written by Larry Pyeatt */ #include int main() { int i,tmp,n,m,rung; int mapping[100]; scanf("%d%d",&n,&m); for(i=0;i