Codeforces-SolutionsA/Codes/1719 A - Chip Game/1719A.cpp

22 lines
336 B
C++
Raw Normal View History

2023-06-30 02:18:09 +08:00
#include<bits/stdc++.h>
using namespace std;
using ll = long long;
void solve()
{
int n,m;
cin>>n>>m;
if((n+m)%2==0) cout<<"Tonya"<<endl;
else cout<<"Burenka"<<endl;
}
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
int TC = 1;
cin >> TC;
cin.ignore();
while (TC--) solve();
}