#45030: python 沒if


x__1 (^_^ 809-34)


a=input()
b=input()
c=input()[0]
print(a+'不'*(c=='n')+'想和'+b+'絕交')