rename input to i (input is a python keyword)