P12169 [AOJ] Apple and Peach
普及
题目描述

Fukushima Prefecture is also famous for producing fruits, and among them, peaches and apples boast one of the highest production volumes in Japan. By the way, when I made a print manuscript of an English pamphlet for sale, I mistakenly wrote the description about apples and the description about peaches in reverse.

You've been tasked with fixing apple and peach, but it's kind of annoying. Enter a single line of English text and create a program that outputs the English text with all the character strings apple in it replaced with peach and all the character strings peach replaced with apple.

Input

English text (including half-width alphanumeric characters, spaces, and symbols) is given on one line. The length of the string entered is 1000 or less.

Output

Outputs English sentences with the character strings apple and peach exchanged on one line.

Example

Input

the cost of one peach is higher than that of one apple.

Output

the cost of one apple is higher than that of one peach.

输入格式

见题面

输出格式

见题面

样例输入
the cost of one peach is higher than that of one apple.
样例输出
the cost of one apple is higher than that of one peach.