Implementation of xkcd 1286 · HackerTrans