2. Sum first two elements
You are not logged in.
Input
Goal output
Your output
  • [4,4]
    8
    4
  • [1,2,3]
    3
    1
  • [7,7,7,7]
    14
    7
  • [1,2,3,4,5]
    3
    1
  • [5,4,3,2,1]
    9
    5
Some tests failed