Read the following information carefully to answer the given question.
Fifty books belonging to different subjects, viz. History (8), Geography (7), Literature (13), Psychology (8) and Science (14), are placed on a shelf. They are arranged in an alphabetical order subject to the condition that no two books of the same subject are placed together so long as books of other subjects are available. Unless otherwise mentioned, all counting is done from the left.
Counting from the right end, the fifth book from the right of 39th book is ______.
the 12 th book from left should be the 39 th book from right so answer is psychology