You have to say that after reading the description about that monster, Emma, Livia, and Sam become surprised. Emma and Livia were the one who became more surprised than Sam.
"Hmm… Really, those prime dragons were very powerful. So this is the monster that you are searching for?" Unexpectedly all three of them suddenly hear a voice from behind.
Instantly all three of them became surprised and then quickly turned around. The moment they turned around they saw that it was the king and Perry, who were standing behind them.
"Father and grandfather, what are you doing here? And when did you come here?" Livia suddenly asked.
But you can say that Sam also wants to ask that question to both of them. You can say that all this time he was very alert about his surroundings but still he did not feel both of them when they came to the Royal library. Not only that he can also tell by Emma's expression that she also most likely did not since both of them.