#include <iostream>
#include <iomanip>
#include <cmath>
using namespace std;
int main() {
const int MAX_SIZE = 100;
int n;
cin >> n;
double firstNumber = 0, secondNumber = 0, v[MAX_SIZE + 2] = {0};
bool increasing = 0, decreasing = 0, even = 0;
for (int i = 1; i <= n; ++i) {
firstNumber = secondNumber;
cin >> secondNumber;
if (firstNumber) {
if (firstNumber < secondNumber) {
increasing = 1;
} else if (firstNumber > secondNumber) {
decreasing = 1;
} else if (firstNumber == secondNumber) {
even = 1;
}
v[i] = secondNumber * 100 / firstNumber - 100;
}
}
if (increasing && decreasing == 0 && even == 0) {
cout << "Veniturile au crescut cu: ";
} else if (decreasing && increasing == 0 && even == 0) {
cout << "Veniturile au scazut cu: ";
} else if (even && increasing == 0 && decreasing == 0) {
cout << "Veniturile au ramas la fel";
return 0;
}
for (int i = 2; i <= n; ++i) {
if (v[i] > 100) {
cout << ">100% ";
} else {
cout << fixed << setprecision(3) << fabs(v[i]) << "% ";
}
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8aW9tYW5pcD4KI2luY2x1ZGUgPGNtYXRoPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7Cgljb25zdCBpbnQgTUFYX1NJWkUgPSAxMDA7CglpbnQgbjsKCWNpbiA+PiBuOwoJZG91YmxlIGZpcnN0TnVtYmVyID0gMCwgc2Vjb25kTnVtYmVyID0gMCwgdltNQVhfU0laRSArIDJdID0gezB9OwoJYm9vbCBpbmNyZWFzaW5nID0gMCwgZGVjcmVhc2luZyA9IDAsIGV2ZW4gPSAwOwoJZm9yIChpbnQgaSA9IDE7IGkgPD0gbjsgKytpKSB7CgkJZmlyc3ROdW1iZXIgPSBzZWNvbmROdW1iZXI7CgkJY2luID4+IHNlY29uZE51bWJlcjsKCQlpZiAoZmlyc3ROdW1iZXIpIHsKCQkJaWYgKGZpcnN0TnVtYmVyIDwgc2Vjb25kTnVtYmVyKSB7CgkJCQlpbmNyZWFzaW5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