Gate input