Convert the given code snippet from the specified {{from}} code language to the specified {{to}} code language.