System.in.eachLine{java.security.MessageDigest.getInstance('MD5').digest(it as byte[]).any{printf'%02x',it};println''}