#include using namespace std; //------------------------------- #define int long long //------------------------------- #define rep(i, n) for (int i = 0; i < (n); i++) #define srep(i, a, b) for (int i = (a), size##i = (b); i < size##i; i++) #define rrep(i, a, b) for (int i = (a); i >= (b); i--) #define all(v) v.begin(), v.end() #define to_int(str) atoi(str.c_str()) #define prt(x) cout << x << endl #ifdef DEBUG #define dbg(x) cout << "[DBG] " << x << endl #else #define dbg(x) #endif typedef long long ll; typedef long double ld; typedef pair PII; typedef vector VI; typedef vector> VVI; template using PQ = priority_queue, greater>; template using RPQ = priority_queue, less>; int dx[4] = {0, 1, 0, -1}; int dy[4] = {1, 0, -1, 0}; //------------------------------- const float S = 1370; signed main() { int T; cin >> T; rep(i, T) { float N; cin >> N; cout << N / S << endl; } }