# -*- coding: utf-8 -*-
import io, sys, os, re, html
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding="utf-8")
os.chdir(r"D:\work buddy\2026-11-05-14-15-52")
t=open("_rice11c_epmp_prog.txt",encoding="utf-8").read()
for name in ["Master of Chemical Engineering","Master of Civil and Environmental","Master of Materials Science","Master of Bioengineering"]:
    i=t.find(name)
    if i<0:
        print("NOT FOUND",name); continue
    seg=re.sub(r"\s+"," ",html.unescape(t[i:i+700]))
    print("="*12,name); print(seg); print()
