If and or statement

so what's the question?