1 2 3 4 5
15
def list_sum(lst): if not lst: return 0 return lst[0] + list_sum(lst[1:]) nums = list(map(int, input().split())) print(list_sum(nums))