Maximum Subarray Problem Python Compiler With Input