[B]import java.util.Scanner;
public class examscore {
static int score=new int [10];
public static Scanner a=new Scanner(System.in);
public static void main(String args[]){
input(a);
sort(10);
}
public static void input(Scanner a){
System.out.print("Enter ten exam scores:");
for(int i=0; i<10;i++)
scores[i]=a.nextInt();
}
public static void main sort(int x){
for(int i=0;i<x;i++)
for(int j=0;i<j;j++){
if(scores[i]>scores[i])
int temp=scores[i];
scores[i]=scores[j];
scores[j]=temp;
}
for(int j=0;j<x;j++)
System.out.println(scores[j]);
}
}