OJ-Problems-Source/HDOJ/1517_autoAC.cpp
2016-08-14 17:42:04 +08:00

17 lines
263 B
C++

#include<iostream>
using namespace std;
int main()
{
double n;
while(cin>>n)
{
while(n>18)
n/=18;
if(n<=9)
cout<<"Stan wins."<<endl;
else
cout<<"Ollie wins."<<endl;
}
return 0;
}