Special Multiple Hackerrank Solution In C