make xrange and input compatible as genrange and get_input