Dan Bi (Kim Seul Gi) is a senior high school student who is also an applicant for the College Scholastic Ability Test. She gave up studying math and on the day of the test, she fell into time lapse and lands somewhere in Joseon era. She then falls in love with Lee Do (Yoon Doo Joon), The king who craves math.