#include <iostream>
using namespace std;
int main() {
double p1, p2, p3, x, y, z;
cin >> p1 >> p2 >> p3;
// p1 = p1 / 4;
// p2 = p2 / 2;
x = (1 + (p1/4)/100)*(1 + (p1/4)/100)*(1 + (p1/4)/100)*(1 + (p1/4)/100);
y = (1 + (p2/2)/100)*(1 + (p2/2)/100);
z = 1 + p3/100;
if ((x > y) && (x > z))
cout << "Первый вклад выгоднее";
else if ((y > x) && (y > z))
cout << "Второй вклад выгоднее";
else if ((z > x) && (z > y))
cout << "Третий вклад выгоднее";
else
cout << "Нет наиболее выгодного вклада из трех";
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwogCmludCBtYWluKCkgewoJZG91YmxlIHAxLCBwMiwgcDMsIHgsIHksIHo7CgljaW4gPj4gcDEgPj4gcDIgPj4gcDM7Ci8vCXAxID0gcDEgLyA0OwovLwlwMiA9IHAyIC8gMjsKCQoJeCA9ICgxICsgKHAxLzQpLzEwMCkqKDEgKyAocDEvNCkvMTAwKSooMSArIChwMS80KS8xMDApKigxICsgKHAxLzQpLzEwMCk7Cgl5ID0gKDEgKyAocDIvMikvMTAwKSooMSArIChwMi8yKS8xMDApOwoJeiA9IDEgKyBwMy8xMDA7CgkKCWlmICgoeCA+IHkpICYmICh4ID4geikpCgkJY291dCA8PCAi0J/QtdGA0LLRi9C5INCy0LrQu9Cw0LQg0LLRi9Cz0L7QtNC90LXQtSI7CgllbHNlIGlmICgoeSA+IHgpICYmICh5ID4geikpCgkJY291dCA8PCAi0JLRgtC+0YDQvtC5INCy0LrQu9Cw0LQg0LLRi9Cz0L7QtNC90LXQtSI7CgllbHNlIGlmICgoeiA+IHgpICYmICh6ID4geSkpCgkJY291dCA8PCAi0KLRgNC10YLQuNC5INCy0LrQu9Cw0LQg0LLRi9Cz0L7QtNC90LXQtSI7CgllbHNlIAoJCWNvdXQgPDwgItCd0LXRgiDQvdCw0LjQsdC+0LvQtdC1INCy0YvQs9C+0LTQvdC+0LPQviDQstC60LvQsNC00LAg0LjQtyDRgtGA0LXRhSI7CglyZXR1cm4gMDsKfQ==