My code works fine up to three capacitive sensors touched. However, when I touch four capacitive sensors, it does not work!!
delay(1000); delay(2000); delay(3000); delay(40000);
I'm sorry I didn't change back 40000->4000 I was just trying to test whether it will work if it has longer delays and forgot to change it back to 4000.