Vocabulary
と思うと
とおもうと
no sooner than; as soon as; immediately after
expression