Goldman Sachs Interview Question

Given string 2a3b => aabbb