#include "iostream.h"
void main()
{
int n,m2,m5,m8;
coutn;
n%2==0?m5=0:m5=1,n-=5;
m8=n/8;
m2=(n%8)/2;
cout