modified hackerrank_Even_Odd_Query.py