import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Scanner; public class No029_PowerUp { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); // 戦闘回数 List list = new ArrayList(); for (int i=0; i