import java.util.Scanner; // 除商取余,逆序输出 public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); // 注意 hasNext 和 hasNextLine 的区别 long n=in.nextLong(); long q=n; int j=0; long result=0; while(q>0){ long r=q%6; q=q/6; result+=r*(long)Math.pow(10,j); j++; } Sy...