#include <bits/stdc++.h>
#include "algotester_generator.h"
using namespace std;
int main(int argc, char* argv[])
{
auto gen = AlgotesterGenerator(argc, argv);
int max = gen.getArg<int>(2);
int a = gen.randInt(max + 1);
int b = gen.randInt(max + 1);
cout << a << ' ' << b << '\n';
return 0;
}