A drainpipe can empty an entire tank in 24 hours, while an inlet pipe can fill an empty tank in 40 hours. A total of 90 pipes, some of them being inlet pipes and the remaining ones being drainpipes, were opened when the tank was completely empty. As a consequence, the tank got completely filled in 4 hours. How many of the 90 pipes were drainpipes?
1
15
2
75
3
60
4
30