Printing press X can print an edition of a newspaper in 12 hours, whereas press Y can print the same edition in 18 hours. What is the total number of hours that it will take the two presses, working together but independently of one another, to print the same edition?