#B. 删除最大数

    Type: Default 1000ms 256MiB

删除最大数

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Description

输入n个数,要求找出n个数的最大值,并将最大的数删除后,再输出剩余的数。

提示,如果有多个最大的数,那么都要删除。 如果一个数也不剩下,输出"none"

Input Format

第一行:n n<=100 第二行:n个由空格隔开的整数。

Output Format

剩余的数字,用空格隔开。

Sample

input

5
2 3 6 1 6

output

2 3 1

Hint

时间限制:1s1 \text {s}

JZYZ2020夏令营Round1

Not Attended
Status
Done
Rule
OI
Problem
4
Start at
2020-8-8 16:10
End at
2020-8-8 16:38
Duration
0.5 hour(s)
Host
Partic.
44