A child while playing tore a page from a novel written by his father. It was found that the sum of the digits of remaining pages of a novel was 312. What was the page number of page torn from this novel?