Problem: Polycarp has interviewed Oleg and has written the interview down without punctuation marks and spaces to save time. Thus, the interview is now a string s consisting of n lowercase English letters.

There is a filler word ogo in Oleg's speech. All words that can be obtained from ogo by adding go several times to the end of it are also considered to be fillers. For example, the words ogo, ogogo, ogogogo are fillers, but the words go, og, ogog, ogogog and oggo are not fillers.

The fillers have maximal size, for example, for ogogoo speech we can't consider ogo a filler and goo as a normal phrase. We should consider ogogo as a filler here.

To print the interview, Polycarp has to replace each of the fillers with three asterisks. Note that a filler word is replaced with exactly three asterisks regardless of its length.

Polycarp has dealt with this problem in no time. Can you do the same? The clock is ticking!

Input

The first line contains a positive integer n (1 ≤ n ≤ 100) — the length of the interview.

The second line contains the string s of length n, consisting of lowercase English letters.

Output

Print the interview text after the replacement of each of the fillers with "***". It is allowed for the substring "***" to have several consecutive occurences.

Examples

Input

7
aogogob


Output

a***b


Input

13
ogogmgogogogo


Output

***gmg***


Input

9
ogoogoogo


Output

*********

Note

The first sample contains one filler word ogogo, so the interview for printing is "a***b".

The second sample contains two fillers ogo and ogogogo. Thus, the interview is transformed to "***gmg***".

Solution (in PYTHON3):

Solution:
s=int(input())
b=input()
b=b.replace("ogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogogo","***")
b=b.replace("ogogogogogogogogo","***")
b=b.replace("ogogogogogogogo","***")
b=b.replace("ogogogogogogo","***")
b=b.replace("ogogogogogo","***")
b=b.replace("ogogogogo","***")
b=b.replace("ogogogo","***")
b=b.replace("ogogo","***")
b=b.replace("ogo","***")
print(b)