import java.util.*;enum B{B;{for(Scanner S=new Scanner(System.in);S==S;)System.out.println(Long.toString(S.nextInt(),S.nextInt()));}}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page