#include <stdio.h>
#define coverage 350
int main()
{
int sq;
int cans;
printf("请输入面积\n");
while(scanf("%d",&sq)==1)
{
cans=sq/coverage;
cans+=((sq%coverage==0)) ?0:1;
printf("you need %d %s of paint.\n",cans,cans==1 ?"can":"cans");
printf("enter next value(q to quit):\n");
}
return 0;
}