key K1 is closed and opened and then key K2 is closed and opened. After the keys K1andK2 are alterbately closed n times each