Skip to main content
2 of 2
Commonmark migration

Japt, 3 bytes

NxÄ 

Try it online


Explanation

N :The array of all inputs x :Sum the array Ä :Add one to each element 
Shaggy
  • 45k
  • 4
  • 39
  • 95