Problem Description

An encoded string is provided like a3b2c (letters with optional number). Decode and output the original string.

Input Format

One line encoded.

Output Format

One line decoded.

Sample Test Case

Input:
a3b2c
Output:
aaabbc

Constraints

Total decoded length

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next