if switches S1 and S2 have been closed for a long time