import io,re
h=io.open('index_main.html',encoding='utf-8').read()
seg=h[h.index('const PROGRAMS=['):h.index('const CATD=[')]
for pid in ["notre-cse-phd","notre-msee","notre-ee-phd","notre-msme","notre-ame-phd","notre-acms-ms","notre-biosci-phd"]:
    i=seg.find('{id:"'+pid+'"')
    print("="*10,pid)
    print(seg[i:i+700])
