#include <bits/stdc++.h>
#define rep(i,l,n) for(int i=l;i<n;i++)
#define rer(i,l,n) for(int i=l;i<=n;i++)
#define all(a) a.begin(),a.end()
#define o(a) cout<<a<<endl
#define fi first
#define se second
using namespace std;
typedef long long ll;
typedef vector<int> vint;
typedef pair<int,int> pii;

int main(){
	string s[10];
	int b[10]={},a[10]={};
	rep(i,0,9){
		cin>>s[i]>>b[i]>>a[i];
		cout<<s[i]<<" "<<b[i]+a[i]<<" "<<200*b[i]+300*a[i]<<endl;
	}
}