pastebin
Add a new paste
View all pastes
Change language
Dutch
English
French
Russian
menu
URL Shortener
Multiple URL shortener
browser info
Whois IP and domain lookup
Capture a Website screenshot
Disqus Chatroom
Registration
pastebin
Paste Search Dynamic
Recent pastes
Adambrooks
21 minutes ago
cnt
6 hours ago
warning infinitely in
6 hours ago
BHPSOGWO
6 hours ago
Arrays associate
6 hours ago
Schedule
6 hours ago
Arrays associate error
6 hours ago
test
6 hours ago
ArrayList
6 hours ago
mainloop
6 hours ago
sort reverse
a,b=
map
(
int
,
input
(
)
.
split
(
)
)
p=
[
]
q=
[
]
for
i
in
range
(
b
)
:
ele=
int
(
input
(
)
)
p.
append
(
ele
)
for
i
in
range
(
b,a
)
:
ele=
int
(
input
(
)
)
q.
append
(
ele
)
print
(
p
)
p.
sort
(
)
q.
sort
(
reverse=
true
)
for
i
in
p:
print
(
i,end=
' '
)
for
i
in
q:
print
(
i,end=
' '
)
Parsed in 0.005 seconds