F:check input