Translate American to Canadian by nn

for(a='/[^t][bvi]o/g0$&u0/beer/0maple syrup0/er/g0re0/re( [at])/0er$10/oll/0ol0/\\./0me.0/beani/0toqu0/mom/0mum0/ns/0nc0'.split(0);l=readline();print(l))for(i=0;r=a[i++];)l=l.replace(eval(r),a[i++])

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page