Talk is cheap. Show me the code.
Problem : https://www.hackerrank.com/challenges/c-class-templates/problem
Solution :