f = lambda a:~-sum(a)/4+1 print(f([50]))# -> 13print(f([12, 50]))# -> 16print(f([25, 100]))# -> 32print(f([19, 35, 5, 200]))# -> 65
Standard input is empty
13 16 32 65
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!