1
Prelude, 12 bytes
One of the few problems, where Prelude is actually fairly competitive:
1(v!v)
^+^
This requires the Python interpreter which prints values as decimal numbers instead of characters.
Explanation
In Prelude, all lines are executed in parallel, with the instruction pointer t...