from sys import stdin def loePuhver(): f=open("all_errors_corrections_min5.csv", encoding="utf-8") p={} for rida in f: m=rida.split(";") p[m[0]]=m[2] return p def asendaTekst(tekst): m=tekst.split() m2=[puhver[sona] if sona in puhver else sona for sona in m] return " ".join(m2) puhver=loePuhver() for line in stdin: print(asendaTekst(line))