The savoury smell of boiling soup drifted upstairs. The periodic sound of the knife chopping the potato made me comfortable. What will the breakfast be? I think while slowly strolling down the stairs. The light was shining through the door gap. Silently, I entered the kitchen, sneaked behind my boyfriend, and covered his eyes.
“Hey! Guess who?” I asked.
“Oh… who could it be…? Pekora-chan?” He replied
“Jeez, come on! You’re always like this!”
“Haha, sorry! I’ll stop joking around!”
“Now, can you guess who I am?”
“…”
“You didn’t forget my name, did you…?”
I gave him the last chance to say my name, one letter at a time, and I’ll keep track of the number of letters he successfully made so far. If he makes a mistake, I will warn him by outputting “no” until he’s back on the right track. At any point, instead of saying a letter, he could either choose to say the character ‘/’ and delete the last letter but my temper will decrease by 1 unit or say the character ‘!’ and restart all over but my temper will go down by two units. If he could say my name correctly before my temper reached zero, I will say “DAISUKI!” and let him go immediately. Otherwise, I’ll say “SAYONARA” and punish him.
You must help me make sure I didn’t make any mistakes. If you don’t help me, you’ll be the next.
The first line is a string, the girl’s name, which wouldn’t exceed 10000 characters in length.
The second line is her initial temper n ( 1 ≤ n ≤ 109)
The last line is his guess as a string of alphabets and special characters which you need to scan until EOF.
If the scanned character is '/' or '!', print out nothing but modify the string accordingly. Otherwise, output the number of correct characters when no mistakes are made and the string “no” when there are, both with the trailing newline character.
If the boy successfully guessed the girl’s name at any point, output “DAISUKI!” after the number of correct characters and stop the program immediately. Otherwise, output “SAYONARA”.