#include <iostream>
using namespace std;
int main() {
// your code goes here
int arr[]={1,-2,1,0,5};
int n=sizeof(arr)/sizeof(arr[0]);
int t=0;
for(int i=0;i<n;i++){
for(int j=i+1;j<n;j++){
if(arr[i]+arr[j]==t){
cout<<true;
return 0;
}
}
}
cout<<false;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwogCmludCBtYWluKCkgewoJLy8geW91ciBjb2RlIGdvZXMgaGVyZQoJaW50IGFycltdPXsxLC0yLDEsMCw1fTsKCWludCBuPXNpemVvZihhcnIpL3NpemVvZihhcnJbMF0pOwoJaW50IHQ9MDsKCWZvcihpbnQgaT0wO2k8bjtpKyspewoJCWZvcihpbnQgaj1pKzE7ajxuO2orKyl7CgkJCWlmKGFycltpXSthcnJbal09PXQpewoJCQkJY291dDw8dHJ1ZTsKCQkJCXJldHVybiAwOwoJCQl9CgkJfQoJfQoJY291dDw8ZmFsc2U7CglyZXR1cm4gMDsKfQ==