跳到主要内容
图灵 OJTURING / ONLINE JUDGE

#F0850. Crunching Numbers Just for You

    ID: 856 传统题 2000ms 256MiB 尝试: 0 已通过: 0 难度: 6 上传者: 标签>模拟编程与模拟提高难度共享题库Codeforces英文题面题目来源题面语言

Crunching Numbers Just for You

题目描述

F. Crunching Numbers Just for You
time limit per test
2 seconds
memory limit per test
64 megabytes
input
standard input
output
standard output

You are developing a new feature for the website which sells airline tickets: being able to sort tickets by price! You have already extracted the tickets' prices, so there's just the last step to be done...

You are given an array of integers. Sort it in non-descending order.

Input

The input consists of a single line of space-separated integers. The first number is n (1≤n≤10) − the size of the array. The following n numbers are the elements of the array (1≤ai≤100).

Output

Output space-separated elements of the sorted array.

Example
Input
3 3 1 2
Output
1 2 3 
Note

Remember, this is a very important feature, and you have to make sure the customers appreciate it!


题目来源:fps-www.educg.net-codeforce-1-2833.xml.zip;FPS 共享题包,题包内第 280 题。保留原作者与原赛事署名。