fork download
  1. a = list(map(int, input().split()))
  2.  
  3. a, b, c, d, e = a[:5]
  4.  
  5. print(a, b, c, d, e)
Success #stdin #stdout 0.02s 9416KB
stdin
1 2 3 4 5 6 7 8 9
stdout
1 2 3 4 5