#include <bits/stdc++.h>
using namespace std;
int main() {
int t;
cin>>t;
while(t--) {
long long int a;
cin>>a;
int b = (a%7 == 6)? 1: 0;
cout<<a/7+b<<endl;
}
return 0;
}
I am getting SIGCONT error, Question: https://www.codechef.com/MARCH221D/problems/CHFCLASS