#include <iostream>
#include "math.h"

using namespace std;

int main() {
	setlocale(LC_CTYPE, "Russian");
	int x; double y;
	cout << "Ââåäèòå õ: ";
	cin >> x;
	y = pow(x, 3) - pow(x, 2) - x + 3 / (sqrt(x));
	cout << "y=" << y << endl;
	return 0;
}