Solve Numeric String

Perform a sequence of operations on a numeric string. Solving code challenges on HackerRank is one of the best ways to prepare for programming interviews.