M Arrays Hackerrank Solution Python Ide