#include
using namespace std;
int main()
{
int a, b, c;
int count = 0;
for (a = 0; a <= 34; a++)
for (b = 0; b <= 50; b++)
for (c = 0; b <= 200; c++)
if((3*a+2*b+0.5*c ==100.0)&&(a+b+c==100));
{
cout << "a=" << a << "b=" << b << "c=" << c<<endl ;
count++;
}
cout << "There are" << count << "methods.\n";
return 0;
}