Input generator for input.