// #牛客春招刷题训练营# https://www.nowcoder.com/discuss/726480854079250432
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
long long n, k, x;//--------乘后会溢出,记得记得开ll
cin >> n >> k >> x;
if (k > (x) * (n + 1) - 1 || k < x * (n - 1) + 1) puts("-1");//------先判断极限情况
else{
int rest = k - (x * (n - 1) + 1);
if (rest > x - 1){//---------优先补充最后一个倍数点后面的非倍数数,只需计算区间左界即可,右界加出
cout << x - (rest - (x - 1)) << " " << x - (rest - (x - 1)) + k - 1;
}
else{
cout << x << " " << x + k - 1;
}
}
}
// 64 位输出请用 printf("%lld")