#include using namespace std; #define __hh__ ios_base::sync_with_stdio(false); cin.tie(0); #define ll long long #define all(x) (x).begin(),(x).end() #define vi vector #define vs vector #define vd vector #define rep(i, n) for(int i=0; i 0){ digit += n % 10; n /= 10; } return digit; } bool isPal(string s) { string t = s; reverse(t.begin(), t.end()); return s == t; } int main() { __hh__ int t; cin >> t; rep(i, t){ vi a(3); rep(j, 3) cin >> a.at(j); cout << 10*(a.at(0)) << " "; cout << 4*(a.at(0)) << " "; cout << 2*(a.at(2)) << "\n"; } }