Codeforces Vladik and fractions
/*
Lionel Messi is such a player that you may catch him, you may touch him, you may feel him
and definitely you may Love him.
Lionel Messi is Messi. A piece of Greatness in this World.
*/
#include<bits/stdc++.h>
using namespace std;
#define fast ios_base::sync_with_stdio(false)
#define bfast cin.tie(0)
#define outs(x) cout << x << " "
#define outn(x) cout << x << "\n"
#define sf scanf
#define pf printf
#define nl puts("")
#define psb push_back
typedef long long LL;
typedef vector<int>vii;
typedef vector<LL>vll;
const int mod = 1000007;
const int high = 100;
int main()
{
fast;
LL n;
while(cin >> n)
{
if(n == 1)
{
cout << "-1\n";
continue;
}
cout << n << " " << (n+1) << " " << n * (n+1) << "\n";
}
return 0;
}
Lionel Messi is such a player that you may catch him, you may touch him, you may feel him
and definitely you may Love him.
Lionel Messi is Messi. A piece of Greatness in this World.
*/
#include<bits/stdc++.h>
using namespace std;
#define fast ios_base::sync_with_stdio(false)
#define bfast cin.tie(0)
#define outs(x) cout << x << " "
#define outn(x) cout << x << "\n"
#define sf scanf
#define pf printf
#define nl puts("")
#define psb push_back
typedef long long LL;
typedef vector<int>vii;
typedef vector<LL>vll;
const int mod = 1000007;
const int high = 100;
int main()
{
fast;
LL n;
while(cin >> n)
{
if(n == 1)
{
cout << "-1\n";
continue;
}
cout << n << " " << (n+1) << " " << n * (n+1) << "\n";
}
return 0;
}
Comments
Post a Comment