solved weirdness on input vs raw_input on python 2 vs python 3