fork(1) download
  1. f=lambda s:"".join(("ouiaiOUIAI bnnpkbnnpk ouiiiouiii"+c)["aeiouAEIOU".find(c)::11] for c in s)
  2.  
  3. # Examples:
  4. print "Output:", f("Shaun")
  5. print "Target:", "Shoboikin"
  6.  
  7. print "Output:", f("Java")
  8. print "Target:", "Jobovobo"
  9.  
  10. print "Output:", f("Hello, World!")
  11. print "Target:", "Hunullapi, Wapirld!"
  12.  
  13. print "Output:", f("Alan")
  14. print "Target:", "Obolobon"
  15.  
  16. print "Output:", f("Australia")
  17. print "Target:", "Oboikistroboliniobo"
  18.  
Success #stdin #stdout 0s 47720KB
stdin
Standard input is empty
stdout
Output: Shoboikin
Target: Shoboikin
Output: Jobovobo
Target: Jobovobo
Output: Hunullapi, Wapirld!
Target: Hunullapi, Wapirld!
Output: Obolobon
Target: Obolobon
Output: Oboikistroboliniobo
Target: Oboikistroboliniobo