import sys

cons = "bcdfghjklmnpqrstvwxz"


for line in sys.stdin:

    out = ""
    words = line.split()
    for word in words:
        if word[0] in cons:
            for i, c in enumerate(word):
                if c not in cons:
                    out += word[i:] + word[:i] + "ay "
                    break
        else: 
            out += word +"yay "

    print(out)
import sys

cons = "bcdfghjklmnpqrstvwxz"


for line in sys.stdin:

    out = ""
    words = line.split()
    for word in words:
        if word[0] in cons:
            for i, c in enumerate(word):
                if c not in cons:
                    out += word[i:] + word[:i] + "ay "
                    break
        else: 
            out += word +"yay "

    print(out)
7197b45a9fdd7f7fcf469f60650f3a6c896d5114
<mask token>

<mask token>
for line in sys.stdin:
    out = ''
    words = line.split()
    for word in words:
        if word[0] in cons:
            for i, c in enumerate(word):
                if c not in cons:
                    out += word[i:] + word[:i] + 'ay '
                    break
        else:
            out += word + 'yay '
    print(out)
<mask token>
for line in sys.stdin:
    out = ''
    words = line.split()
    for word in words:
        if word[0] in cons:
            for i, c in enumerate(word):
                if c not in cons:
                    out += word[i:] + word[:i] + 'ay '
                    break
        else:
            out += word + 'yay '
    print(out)

<mask token>
cons = 'bcdfghjklmnpqrstvwxz'
for line in sys.stdin:
    out = ''
    words = line.split()
    for word in words:
        if word[0] in cons:
            for i, c in enumerate(word):
                if c not in cons:
                    out += word[i:] + word[:i] + 'ay '
                    break
        else:
            out += word + 'yay '
    print(out)
<mask token>
cons = 'bcdfghjklmnpqrstvwxz'
for line in sys.stdin:
    out = ''
    words = line.split()
    for word in words:
        if word[0] in cons:
            for i, c in enumerate(word):
                if c not in cons:
                    out += word[i:] + word[:i] + 'ay '
                    break
        else:
            out += word + 'yay '
    print(out)

import sys
cons = 'bcdfghjklmnpqrstvwxz'
for line in sys.stdin:
    out = ''
    words = line.split()
    for word in words:
        if word[0] in cons:
            for i, c in enumerate(word):
                if c not in cons:
                    out += word[i:] + word[:i] + 'ay '
                    break
        else:
            out += word + 'yay '
    print(out)
import sys
cons = 'bcdfghjklmnpqrstvwxz'
for line in sys.stdin:
    out = ''
    words = line.split()
    for word in words:
        if word[0] in cons:
            for i, c in enumerate(word):
                if c not in cons:
                    out += word[i:] + word[:i] + 'ay '
                    break
        else:
            out += word + 'yay '
    print(out)

import sys

cons = "bcdfghjklmnpqrstvwxz"


for line in sys.stdin:

    out = ""
    words = line.split()
    for word in words:
        if word[0] in cons:
            for i, c in enumerate(word):
                if c not in cons:
                    out += word[i:] + word[:i] + "ay "
                    break
        else: 
            out += word +"yay "

    print(out)
import sys

cons = "bcdfghjklmnpqrstvwxz"


for line in sys.stdin:

    out = ""
    words = line.split()
    for word in words:
        if word[0] in cons:
            for i, c in enumerate(word):
                if c not in cons:
                    out += word[i:] + word[:i] + "ay "
                    break
        else: 
            out += word +"yay "

    print(out)