#include <bits/stdc++.h>   using namespace std;   int main() {     int r, g, b, ck, maximum = 0, temp;     scanf( %d %d %d , &r, &g, &b);     if (r % 2 == 1) r++;     r = r / 2;     if (g % 2 == 1) g++;     g = g / 2;     if (b % 2 == 1) b++;     b = b / 2;     temp = 27 + r * 3;     if (temp > maximum) maximum = temp;     temp = 28 + g * 3;     if (temp > maximum) maximum = temp;     temp = 29 + b * 3;     if (temp > maximum) maximum = temp;     printf( %d n , maximum);     return 0;   }   