#include <iostream>
using namespace std;
int main() {
int x;
cin >> x;
if (x < 0) {
cout << "y=" << 7 - 2 * x << endl;
} else if (x == 0) {
cout << "y=" << x - 1 << endl;
} else {
cout << "y=" << (x + 4) * 2 << endl;
}
return 0;
#include <iostream>
using namespace std;
int main() {
int x;
cin >> x;
if (x < 0) {
cout << "y=" << 7 - 2 * x << endl;
} else if (x == 0) {
cout << "y=" << x - 1 << endl;
} else {
cout << "y=" << (x + 4) * 2 << endl;
}
return 0;
}