# -*- coding: utf-8 -*-
import io,sys,ssl,urllib.request,re
sys.stdout=io.TextIOWrapper(sys.stdout.buffer,encoding="utf-8")
ctx=ssl.create_default_context(); ctx.check_hostname=False; ctx.verify_mode=ssl.CERT_NONE
h=urllib.request.urlopen(urllib.request.Request("https://www.sgs.utoronto.ca/programs/finance/",headers={"User-Agent":"Mozilla/5.0"}),timeout=25,context=ctx).read().decode("utf-8","ignore")
links=set(re.findall(r'href="([^"]+)"',h))
for u in sorted(links):
    if "rotman" in u.lower() or "graduate" in u.lower() or "admission" in u.lower():
        print(u)
