Untitled

mail@pastecode.io avatar
unknown
c_cpp
7 months ago
350 B
0
Indexable
Never
#include <iostream>

int main()
{
    int a, b = 0;
    std::cin >> a >> b;
    if (a > b) {
        if (b % 2 == 0) {
            std::cout << "meow";
            return 0;
        }
    }
    else {
        if (a % 2 == 0) {
            std::cout << "meow";
            return 0;
        }
    }
    std::cout << "bark";
}