float d;main(n,v){for(;~scanf("%d",&n);puts(""))for(d=v=500;printf("%d %c\n",v,61+(v>n)^v