#include int main() { int j,m,t; scanf("%d", &j); scanf("%d", &m); scanf("%d", &t); printf("%.1d\n", j+m+t); printf("%.1f\n", j+m+t / 3); return 0; }