Pipe A can fill a tank in 12 hours and pipe B can fill it in 15 hours seperately. A third pipe C can empty in 20 hours, Intially pipe A was opened, after one hour pipe B was opened and then after 1 hour when pipe B, was opened pipe C was also opened. In how many total hours the tank will be full?