import sys var={'a': ['apple', 'abandon', 'ant'], 'b': ['banana', 'bee', 'become'], 'c': ['cat', 'come'], 'd': 'down'} var1=input() for i in var.keys(): if i == var1: print(" ".join(var.get(i)))