Sichanov

smallest

Oct 3rd, 2021
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. integers = [int(i) for i in input().split()]
  2. n = int(input())
  3.  
  4. for i in range(n):
  5.     integers.remove(min(integers))
  6.  
  7. print(', '.join(str(i) for i in integers))
Advertisement
Add Comment
Please, Sign In to add comment