Trimmed the code
12th problem