#include <iostream>using namespace std;
int main() { long long int x,y,z; while(cin>>x>>y>>z){ if(x/10>=1&&z/2>=1&&(x/10)==(z/2)){y=y+(x/10);} cout<<x<<" 個餅乾,"<<y<<" 盒巧克力,"<<z<<" 個蛋糕。"<<endl; } return 0;}