20 массив вещественных чисел
n = 20
A = [float(i) for i in input().split(maxsplit = n)]
for i in range(n):
if (A[i] != 0):
print(A[i], end = " ")
20 массив вещественных чисел
n = 20
A = [float(i) for i in input().split(maxsplit = n)]
for i in range(n):
if (A[i] != 0):
print(A[i], end = " ")