Ivan's submission of SuperFunction | CodeChef