Sort Array

An array of numbers is stored between RAM[1000] and RAM[1004] (inclusive). Sort this array in ascending order (smallest to largest).

Input

RAM[1000] = 9
RAM[1001] = 2
RAM[1002] = 5
RAM[1003] = 4
RAM[1004] = 1

Output

RAM[1000] = 1
RAM[1001] = 2
RAM[1002] = 4
RAM[1003] = 5
RAM[1004] = 9