An electric kettle has two heating coils. When one of the coils is connected to an a.c. source, the water in the kettle boils in $10$ minutes. When the other coil is used the water boils in $40$ minutes. If both the coils are connected in parallel, the time taken by the same quantity of water to boil will be