#include
#include #include
using namespace std;
int main() {
srand(time(0));
const int n = 5;
int x[n], y[n], x0=0, y0=0;
for (int i = 0; i < n; ++i) {
x[i] = rand() % 5;
y[i] = rand() % 5;}
for (int i = 0; i < n; ++i) {
cout<< x[i]<<' ';}<br>cout << endl;<br>for (int i = 0; i < n; ++i) {cout << y[i] << ' ';}<br>for (int i = 0; i < n; ++i) {
if (x[i]) x0++;
if (y[i]) y0++;}
cout << endl;<br>if (x0 > y0) cout << 'x';<br>if (x0 < y0) cout << 'y';<br>if (x0 == y0) cout << '='; <br>return 0;}