33OJ
登录 注册

#P17787. 伊蕾娜不是罪过

伊蕾娜不是罪过

Background

『That lovely girl was a witch and a traveler. ――Yes, that's me.』

Problem Description

You are given a non-empty string ss consisting of lowercase letters. Add two * on each side of every contiguous substring elaina, and add two _ on each side of every contiguous substring saya, then output the resulting string.

Input Format

Input a string ss.

Output Format

Output the resulting string.

elainalovessayawhilesayaloveselainatoo
**elaina**loves__saya__while__saya__loves**elaina**too

Hint

For all data, 1≤∣s∣≤1061\le|s|\le 10^6.

Translated by QwenWork