What is the output of the following snippet of code?
```
# Hint: negative indexing in lists works
# in the same way as negative indexing in strings
# so L[-1] is 5 and L[-2] is 4 and so on
L = [1, 2, 3, 4, 5]
stop = -len(L) - 1
x = 0
i = -1
while i > stop:
x = x * 10 + L[i]
i = i - 1
print(x)
```