Maximum Element Hackerrank Solution In Python