#include using namespace std; #include #include #include template inline bool chmax(T& a, T b) { if (a < b) { a = b; return 1; } return 0; } template inline bool chmin(T& a, T b) { if (a > b) { a = b; return 1; } return 0; } const int INF=1001001001; const int mod = 1000000007; int main() { vectora(3),b(3); for(int i=0;i<3;i++){cin>>a[i];} for(int i=0;i<3;i++){cin>>b[i];} sort(a.begin(),a.end()); sort(b.begin(),b.end()); for(int i=0;i<3;i++){ if(a[i]!=b[i]){cout<<"No"<