#include<bits/stdc++.h>
using namespace std;
int main(){
int a[3],b[3];
for(int i=0;i<3;i++){
cin>>a[i];
}
for(int i=0;i<3;i++){
cin>>b[i];
}
int alice=0,bob=0;
for(int i=0;i<3;i++){
if(a[i]>b[i])
alice++;
else if(b[i]>a[i])
bob++;
else
continue;
}
cout<<alice<<" "<<bob<<"\n";
return 0;
}
To embed this program on your website, copy the following code and paste it into your website's HTML: