int plus1(const int *x) {
    *x = *x + 1;
    return *x;
}

int minus1(const int *x) {
    *x = *x - 1;
    return *x;
}
