odd doctor 已更新

Extra数青蛙

Time Limit
1s
Memory Limit
32768KB
Judge Program
Standard
Ratio(Solve/Submit)
10.29%(7/68)
Description:

有一天,Extra来到一个青蛙王国,看到一群青蛙在跳水,于是他感到很神奇,就在一旁数青蛙:“一只青蛙一张嘴,两只眼睛四条腿,扑通一声跳下水……”不过Extra已经不在是幼儿园的小朋友了,他会使用英文来数。他还能从第K只青蛙数到第S只青蛙



Input:

第一行输入N,表示有几组数据

每一组包括两个大于0的整数KS,表示从第K只青蛙数到第S只青蛙



Output:

按以下格式输出

1 frog has 1 mouth, 2 eyes and 4 legs, jumps into the water with a splash.

2 frogs have 2 mouths, 4 eyes and 8 legs, jump into the water with splash splash.

……


Sample Input:
3
2 3
7 9
10 11
Sample Output:
2 frogs have 2 mouths, 4 eyes and 8 legs, jump into the water with splash splash.
3 frogs have 3 mouths, 6 eyes and 12 legs, jump into the water with splash splash splash.
7 frogs have 7 mouths, 14 eyes and 28 legs, jump into the water with splash splash splash splash splash splash splash.
8 frogs have 8 mouths, 16 eyes and 32 legs, jump into the water with splash splash splash splash splash splash splash splash.
9 frogs have 9 mouths, 18 eyes and 36 legs, jump into the water with splash splash splash splash splash splash splash splash splash.
10 frogs have 10 mouths, 20 eyes and 40 legs, jump into the water with splash splash splash splash splash splash splash splash splash splash.
11 frogs have 11 mouths, 22 eyes and 44 legs, jump into the water with splash splash splash splash splash splash splash splash splash splash splash.
Hint:

K和S大小不一定


Submit