hackerrank python solutions arithmetic operators