Student Analysis Hackerrank Solution