Георгий Попандопуло, 520 группа PackedQueue 3036
Пахненко Иван 516 PackedQueue 2830
t1conv = eval(input())t1conv = eval(input())
2cov_tur = []2cov_tur = []
3for i in conv:3for i in conv:
4    if type(i) != int:4    if type(i) != int:
5        [cov_tur.append(j) for j in i]5        [cov_tur.append(j) for j in i]
6    elif i <= len(cov_tur):6    elif i <= len(cov_tur):
7        print(tuple(cov_tur[:i]))7        print(tuple(cov_tur[:i]))
8        cov_tur = cov_tur[i:]8        cov_tur = cov_tur[i:]
9    else:9    else:
10        break10        break
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op