A program that when given an encoded message, counts the number of ways it can be decoded.
####Mapping:
A : 1
B : 2
C : 3
...
Z : 26
###Input Sample:
12
123
###Output Sample:
2
3
A program that when given an encoded message, counts the number of ways it can be decoded.
C++