import java.io.*;import java.util.*;class Main{public static void main(String[] args) throws IOException{BufferedReader br=new BufferedReader(new InputStreamReader(System.in));int[] k=new int[10];for(int i=0;i<10;i++)k[i]=Integer.parseInt(br.readLine());Arrays.sort(k);for(int i=0;i<3;i++)System.out.println(k[9-i]);}} import java.io.*; io.* java import java.util.*; util.* java class Main{public static void main(String[] args) throws IOException{BufferedReader br=new BufferedReader(new InputStreamReader(System.in));int[] k=new int[10];for(int i=0;i<10;i++)k[i]=Integer.parseInt(br.readLine());Arrays.sort(k);for(int i=0;i<3;i++)System.out.println(k[9-i]);}} Main public static void main(String[] args) throws IOException{BufferedReader br=new BufferedReader(new InputStreamReader(System.in));int[] k=new int[10];for(int i=0;i<10;i++)k[i]=Integer.parseInt(br.readLine());Arrays.sort(k);for(int i=0;i<3;i++)System.out.println(k[9-i]);} main {BufferedReader br=new BufferedReader(new InputStreamReader(System.in));int[] k=new int[10];for(int i=0;i<10;i++)k[i]=Integer.parseInt(br.readLine());Arrays.sort(k);for(int i=0;i<3;i++)System.out.println(k[9-i]);} BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int[] k=new int[10]; k new int[10] 10 for(int i=0;i<10;i++)k[i]=Integer.parseInt(br.readLine()); int i=0; int i=0; i 0 i<10 i 10 i++ i++ i k[i]=Integer.parseInt(br.readLine()); k[i]=Integer.parseInt(br.readLine()) k[i] k i Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br Arrays.sort(k) Arrays.sort Arrays k for(int i=0;i<3;i++)System.out.println(k[9-i]); int i=0; int i=0; i 0 i<3 i 3 i++ i++ i System.out.println(k[9-i]); System.out.println(k[9-i]) System.out.println System.out System System.out k[9-i] k 9-i 9 i String[] args args
import java.io.*;import java.util.*;class Main{public static void main(String[] args) throws IOException{BufferedReader br=new BufferedReader(new InputStreamReader(System.in));int[] k=new int[10];for(int i=0;i<10;i++)k[i]=Integer.parseInt(br.readLine());Arrays.sort(k);for(int i=0;i<3;i++)System.out.println(k[9-i]);}}