Input (grade 5): It was painted before the fall of the Northern Song Dynasty in 1127.
Output (grade 4): It was painted during the Song Dynasty.