ますと
sumasuto

Godan Verb (su)

The "-to" conditional form ("if/when…") of 済ます

1. If/when finished; If/when completed; If/when settled

To Conditional