#include <cstdlib>
#include <iostream>
using namespace std;
int main()
{
float v1,v2,v3,l1,l2,l3,ost;
cout<<“ Unesi zapremine v1,v2 i v3 „<<endl;
cin>>v1>>v2>>v3;
cout<<„Unesi kolicine koje su drugovi popili“<<endl;
cin>>l1>>l2>>l3;
ost=(v1-l1+v2-l2+v3-l3);
if(ost==0)
cout<<„0″<<endl;
else
if(ost<v1 || ost<v2 ||ost<v3)
cout<<„1 „<<endl;
else
if(ost>v1+v2 || ost>v2+v3 ||ost>v3+v1)
cout<<„3 „<<endl;
else
cout<<„2″<<endl;
system(„PAUSE“);
return EXIT_SUCCESS;
}