pastebin

Paste Search Dynamic
Recent pastes
sum
  1. from sys import stdin
  2. x= int(input())
  3. y= int(input())
  4. i=0
  5. while i <x:
  6.     a=list(map(int,input().split()))
  7.     mn=min(a)
  8.     a.remove(mn)
  9.     mn1=min(a)
  10.     sum=mn+mn1
  11.     print(sum)
  12.     i+=1
Parsed in 0.003 seconds