#include <iostream>
#include <vector>
#include <algorithm>
#include <string>

using namespace std;

int main(){

	string str;
	int a,b;
	while(cin>>str>>a>>b){
		cout<<str<<" "<<a+b<<" "<<a*200+b*300<<endl;
	}

	return 0;
}