2583

// include file
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <cctype>
#include <ctime>

#include <iostream>
#include <sstream>
#include <fstream>
#include <iomanip>
#include <bitset>

#include <algorithm>
#include <string>
#include <vector>
#include <queue>
#include <set>
#include <list>
#include <functional>

using namespace std;

// typedef
typedef __int64 LL;

// 
#define read freopen("in.txt","r",stdin)
#define write freopen("out.txt","w",stdout)

#define Z(a,b) ((a)<<(b))
#define Y(a,b) ((a)>>(b))

const double eps = 1e-6;
const double INFf = 1e100;
const int INFi = 1000000000;
const LL INFll = (LL)1<<62;
const double Pi = acos(-1.0);

template<class T> inline T sqr(T a){return a*a;}
template<class T> inline T TMAX(T x,T y)
{
	if(x>y) return x;
	return y;
}
template<class T> inline T TMIN(T x,T y)
{
	if(x<y) return x;
	return y;
}
template<class T> inline T MMAX(T x,T y,T z)
{
	return TMAX(TMAX(x,y),z);
}
template<class T> inline T MMIN(T x,T y,T z)
{
	return TMIN(TMIN(x,y),z);
}
template<class T> inline void SWAP(T &x,T &y)
{
	T t = x;
	x = y;
	y = t;
}


// code begin
int a,b,c,A,B,C,D,E,F;
// a*x*x+b*x+c
// c= A
// a+b+c = B 
// 4a+2b+c = C
// c = A
// a = (C-2B+A)/2
// b = B-b-c
int main()
{
	read;
	write;
	while(scanf("%d %d %d",&A,&B,&C)==3)
	{
		c = A;
		a = (C-2*B+A)/2;
		b = B-a-c;
		D = a*9+3*b+c;
		E = a*16+4*b+c;
		F = a*25+5*b+c;
		printf("%d %d %d\n",D,E,F);
	}
	return 0;
}
posted @ 2011-05-02 01:49  AC2012  阅读(195)  评论(0编辑  收藏  举报