AnnaTolstoy/VoMaKu | AnnaTolstoy/kv00msu | ||||
---|---|---|---|---|---|
t | 1 | import sys | t | 1 | import sys |
2 | import random | 2 | import random | ||
3 | L = int(input()) | 3 | L = int(input()) | ||
4 | Txt = sys.stdin.read().replace('\n ', ' @ ').split() | 4 | Txt = sys.stdin.read().replace('\n ', ' @ ').split() | ||
5 | k = random.randint(100, 1000) | 5 | k = random.randint(100, 1000) | ||
6 | print(' '.join(Txt[k:k + L]).replace(' @ ', '\n ')) | 6 | print(' '.join(Txt[k:k + L]).replace(' @ ', '\n ')) |
Legends | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
|