The castle's gate is open 18 hours a day and must be guarded. Five knights are ordered to split each day’s guard duty equally. How long will each knight spend on guard duty in one day?

Record your answer in hours.