package Er;
import java.util.Arrays;
import java.util.Scanner;
/**
* @Author zxf
* @Description
* @Date 2023/3/14 9:37
*/
public class Shhsf {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int a = 0;
System.out.println("请输入最后一天互动的数:");
int num = input.nextInt();
int[] cards = {326,301,278,232,205,178};
int newArr[] = new int[cards.length+1];
for (int i = 0; i != newArr.length; i++) {
if(i== newArr.length-1){
newArr[i]=num;
}else {
newArr[i] = cards[i];
}
}
Arrays.sort(newArr);
for (int i = newArr.length-1; i >= 0; i--) {
System.out.print(newArr[i] + " ");
}
}
}