Sensor and LED interface

Good Evening,

I am trying to do program for some application. There are three sensor and 4 outputs(3- relay and 1-LED output). If three sensor are sensed, the single relay should be ON and LED should ON and OFF after 5 second, if one sensor are not sensed the first relay should be OFF and second relay should be ON. If second sensor are not sensed the first and second relay should not ON and third relay should ON. If three sensor are not sensed, LED should be ON for 10 second. I am new to arduino, please suggest suitable solution.

What have you tried ?

Do you know how to read the state of an input pin ?
Do you know how to set the state of an output pin ?
What type of sensors are you using ?