Skip to main content

Cooldog's Love Letter

Cooldog has written a love letter to his favorite dog in the entire world, Dankdog. He wishes to ask her out for Valentine's Day.

However, Cooldog's friend Trolldog has committed a nefarious amount of tomfoolery and has inserted a number of seemingly random symbols into the love letter, much to Cooldog's dismay.

After examining the seemingly ruined letter, Cooldog observes to his delight that there is a pattern: Trolldog only ever inserts the characters <, >, and @. Thus, by removing all occurrences of these characters, he can obtain his original letter.

Because Cooldog is a busy student (and is behind on homework), he does not have the time to edit the letter himself. Help Cooldog out by outputting the original content of the letter.

Input Specification

The input is one line containing the vandalized love letter, which consists of alphabetic characters in addition to <, >, and @.

Output Specification

Output one line containing the original content of the letter after removing Trolldog's insertions.

Sample Data

Sample Input 1

De@ar Dank<>>d@og, I ><love you s@@o much!> You m@ake me <so ha>ppy every t@ime I see your beautif<>ul smi@l<>><@<>>@><e. I re@<ally enj<><oy ta@lki<>ng t<o you on Dogcord and y<@ou h<a><ve s>uch a g@o>ld<e>>>n sense of hum<our. W<>ill you >@<go out with m@><>e?

Sample Output 1

Dear Dankdog, I love you so much! You make me so happy every time I see your beautiful smile. I really enjoy talking to you on Dogcord and you have such a golden sense of humour. Will you go out with me?