A word can hide numbers inside it. Each such number is called a hidden number. Given a word made of uppercase and lowercase letters and digits, write a program that computes the sum of every hidden number in the word.
A hidden number follows these rules:
A hidden number's value is the integer read from its digits, so leading zeros are ignored (the run 07 counts as 7).
The first line contains the length of the word n (1≤n≤5,000,000).
The second line contains the word, which consists only of uppercase and lowercase letters and digits (0-9).
Print the sum of all hidden numbers in the word on a single line. If there are no hidden numbers, print 0.