#include <iostream> using namespace std; int main( void ) { unsigned T; cin >> T; while( T-- ) { unsigned n; cin >> n; cout << ((n-1)*100 + 71) << '\n'; } }