#include <stdio.h> #include <string.h> #include <stdlib.h> #define max(a,b) (a)>(b)?(a):(b) int main(){ int t; double n; scanf("%d",&t); while (t--){ scanf("%lf",&n); printf("%.f\n",n/961); } return 0; }