Is it possible to enter multiple periods in which one was a resident of New York City if filing as part-time? i.e. spring and fall (student from out-of-state)

I was a NYC resident from 1/6/23-5/11/23 AND 8/21/23-12/21/23. The tax form allows me to only enter one set of start and end dates to reflect my residency in the state, but I can't do that since I was not a resident of the state from May 11th to August 21st. Any suggestions?