#include #include #include using namespace std; int main() { ifstream f("stdin"); ofstream g("stdout"); int a,b,c,d,s[3] = {0,0,0}; f>>a>>b>>c>>d; cout<