try B1010
maybe use gets or ch=getchar then change it to integer