// // Goal: read two numbewrs and // output them in scending order // import java.util.Scanner; public class Ascend { public static void main(String[] args) { Scanner input = new Scanner(System.in); double a, b; System.out.print("Two numbers: "); a = input.nextDouble(); b = input.nextDouble(); if(a>b) System.out.println(b + " " + a); else System.out.println(a + " " + b); } }