Euclid's Game

题目描述

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=15&page=show_problem&problem=1309 [PDF](https://uva.onlinejudge.org/external/103/p10368.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10368/bf0f1e68eae66c16569efef229a6f7b6c58336b8.png)

输入输出格式

输入格式


![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10368/5b1b874839f146c65a3cfa1d1e62b72dd45a35c2.png)

输出格式


![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10368/9773b0d577f8b1e9c2032b49e529d833c3aa20cd.png)

输入输出样例

输入样例 #1

34 12
15 24
0 0

输出样例 #1

Stan wins
Ollie wins