蹦极 Bungee Jumping

题目描述

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=20&page=show_problem&problem=1809 [PDF](https://uva.onlinejudge.org/external/108/p10868.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10868/5832d995d1803dc26c13609dbf0e79efad54d33e.png)

输入输出格式

输入格式


![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10868/a32371e744281bf5e764b604abbbcc4dc9b88af2.png)

输出格式


![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10868/6104428b95d21b0f03e7fb49ca69a84203fcefc1.png)

输入输出样例

输入样例 #1

350 20 30 75
375 20 30 75
400 20 30 75
425 20 30 75
450 20 30 75
400 20 30 50
400 20 30 80
400 20 30 85
0 0 0 0

输出样例 #1

Killed by the impact.
James Bond survives.
James Bond survives.
James Bond survives.
Stuck in the air.
Stuck in the air.
James Bond survives.
Killed by the impact.