importjava.util.Scanner;publicclassReverseOutput{publicstaticvoidmain(String[] args){while(true){Scanner scanner =newScanner(System.in);System.out.println("\n"+"请输入一个多位的整数:");int num = scanner.nextInt();while(num >0){int i = num%10;
num /=10;System.out.print(i);}}}}
publicclassPeach{publicstaticvoidmain(String[] args){int sum =1;for(int i =1; i <10; i++){
sum =(sum +1)*2;}System.out.println("小猴子一共摘了"+ sum +"个桃子!");}}