Input (grade 9): His grandfather was Pavel Maximovich Sokolov, a priest of the Russian Orthodox Church from the Tver region.
Output (grade 8): His grandfather was Pavel Maximovich Sokolov, a priest of Russian Orthodox Church from the Tver region.