/** libraries */
#include
#include
#include
#include
#include
#include
#include
#include
/** libraries */
using namespace std;
/** defines */
#define ll long long
#define ld long double
#define yes cout << "YES" << "\n"</strong>
#define no cout << "NO" << "\n"</strong>
/** defines */
signed main() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
cout.tie(nullptr);
srand(time(NULL));
vector a(4);
for(ll i = 0; i < 4; i++)
cin >> a[i];
sort(a.begin(),a.end());
cout << *a.begin() + 10;</strong>
}