#include #include #include using namespace std; int main(){ vector s(6); cin>>s[0]>>s[1]>>s[2]>>s[3]>>s[4]>>s[5]; sort(s.begin(),s.end()); s[0]=s[1]+s[2]+s[3]+s[4]; if(s[0]%4==0){ cout<