Alternatively rewrite some non trivial work of your own from X to Y language. You'll learn more than making frivolous programs about made up stuff.
If the languages are at all commonplace, having an AI convert a program from language X to language Y might speed you along as well. No guarantees it will be perfect but it will probably get you in the ballpark.