Byte to Bit

/******************************************************************************

                          Online C++ Compiler.
           Code, Compile, Run and Debug C++ program online.

Write your code in this editor and press “Run” button to compile and execute it.

*******************************************************************************/

#include
#include

using namespace std;

int main()
{ int t,m;
cin>>t;
for(m=0;m<t;m++)
{ int n,k=0,i=0,j=0;
cin>>n;
while(n>0)
{
if(n>8)
{
k++;
n=n-8;
}
else if(n<=8&&n>2)
{
j++;
n=n-8;
}
else if(n<=2&&n>0)
{
i++;
n=n-2;
}
}
cout<<i<<" “<<j<<” "<<k<<endl;

    }

}