#include <stdio.h>
int main() {
int x, y, res;
res =(x > 0 && y < 0) ? (x + y) : (x > 0 && y > 1) ? (x/(y-1)) : (x-y);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbigpIHsKICAgIGludCB4LCB5LCByZXM7CiAgICAKICAgIHByaW50ZigieCA9ICIpOwogICAgc2NhbmYoIiVkIiwgJngpOwogICAgcHJpbnRmKCJ5ID0gIik7CiAgICBzY2FuZigiJWQiLCAmeSk7CiAgICAKICAgIHJlcyA9KHggPiAwICYmIHkgPCAwKSA/ICh4ICsgeSkgOiAoeCA+IDAgJiYgeSA+IDEpID8gKHgvKHktMSkpIDogKHgteSk7CiAgICBwcmludGYoImYoeCx5KSA9ICVkIiwgcmVzKTsKICAgIAogICAgcmV0dXJuIDA7Cn0=