import java.util.Arrays;
import java.util.LinkedList;
import java.util.Queue;
import java.util.Scanner;
// 1:无需package
// 2: 类名必须Main, 不可修改
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
//在此输入您的代码...
String[] spl=scan.nextLine().split("");
int n=Integer.parseInt(spl[1]);
int length_long=1189;
int length_short=841;
int max=0;
for (int i = 0; i < n; i++) {
max=Math.max(length_long,length_short);
if(length_long==max){
length_long/=2;
}else {
length_short/=2;
}
}
System.out.println(Math.max(length_long,length_short));
System.out.println(Math.min(length_long,length_short));
scan.close();
}
}
纸张尺寸、
最新推荐文章于 2025-05-17 17:01:31 发布