Unhappy is a synonym of Sorry. Sorry is related to Paper. Paper is related to Cotton. 
Advance is a synonym of Assign. Assign is a synonym of Put. Input is derived from Put. 
Unhappy <--Synonym--> Sorry <--RelatedTo--> Paper <--RelatedTo--> Cotton 
Advance <--Synonym--> Assign <--Synonym--> Put <--DerivedFrom-- Input 