1. #include <bits/stdc++.h>
  2. #define ll long long int
  3. #define pb push_back
  4. #define mp make_pair
  5. #define mod 1000000007
  6. #define vl vector <ll>
  7. #define all(c) (c).begin(),(c).end()
  8. using namespace std;
  9. long long readInt(long long l,long long r,char endd){
  10. long long x=0;
  11. int cnt=0;
  12. int fi=-1;
  13. bool is_neg=false;
  14. while(true){
  15. char g=getchar();
  16. if(g=='-'){
  17. assert(fi==-1);
  18. is_neg=true;
  19. continue;
  20. }
  21. if('0'<=g && g<='9'){
  22. x*=10;
  23. x+=g-'0';
  24. if(cnt==0){
  25. fi=g-'0';
  26. }
  27. cnt++;
  28. assert(fi!=0 || cnt==1);
  29. assert(fi!=0 || is_neg==false);
  30.  
  31. assert(!(cnt>19 || ( cnt==19 && fi>1) ));
  32. } else if(g==endd){
  33. if(is_neg){
  34. x= -x;
  35. }
  36.  
  37. if(!(l <= x && x <= r))
  38. {
  39. cerr << l << ' ' << r << ' ' << x << '\n';
  40. assert(1 == 0);
  41. }
  42.  
  43. return x;
  44. } else {
  45. assert(false);
  46. }
  47. }
  48. }
  49. string readString(int l,int r,char endd){
  50. string ret="";
  51. int cnt=0;
  52. while(true){
  53. char g=getchar();
  54. assert(g!=-1);
  55. if(g==endd){
  56. break;
  57. }
  58. cnt++;
  59. ret+=g;
  60. }
  61. assert(l<=cnt && cnt<=r);
  62. return ret;
  63. }
  64. long long readIntSp(long long l,long long r){
  65. return readInt(l,r,' ');
  66. }
  67. long long readIntLn(long long l,long long r){
  68. return readInt(l,r,'\n');
  69. }
  70. string readStringLn(int l,int r){
  71. return readString(l,r,'\n');
  72. }
  73. string readStringSp(int l,int r){
  74. return readString(l,r,' ');
  75. }
  76.  
  77. const int MAXT = 1000;
  78. const int MAXX = 1000;
  79.  
  80. void solve()
  81. {
  82. int x = readInt(1,MAXX,'\n');
  83. cout << (x + 24)/25 << "\n";
  84. }
  85. int main()
  86. {
  87. //ios_base::sync_with_stdio(false);
  88. //cin.tie(NULL),cout.tie(NULL);
  89. int T=readInt(1,MAXT,'\n');
  90. while(T--)
  91. solve();
  92. assert(getchar()==-1);
  93. cerr << "Time : " << 1000 * ((double)clock()) / (double)CLOCKS_PER_SEC << "ms\n";
  94. }