## Python, 40 bytes First thing I though of. It can probably be golfed more. Input comes from sdtin. Output goes to stdout as a set object print set(raw_input())&set(" raw_pintse(u)&\"")