Problem list
Log in
#r03074 · Online Judge > GoldOJ

Sort a List

Bronze II 2.0 s 1024 MB

A list of integers is given on one line. Print the list sorted in ascending order using Python's list representation, e.g. [1, 2, 3].

Input

One line with 1 to 50 integers, each in $[-1000, 1000]$.

Output

Print the sorted list as a Python list literal.

Example 1

Input
3 1 4 1 5
Output
[1, 1, 3, 4, 5]
Source
Online Judge > GoldOJ
Appears in
Not part of a ladder, contest or set yet.
Accepted 0 Submissions 0 Acceptance 0% Solvers 0

Discussion

Threads about this problem. Spoilers are collapsed; wrap hints in ||double bars||.

No discussion yet. Start a thread if something here needs explaining.

Recent submissions Open with filters
Code