Input processor