#include #include #include #include #include #include #define all(x) begin(x),end(x) #define ll long long #define P pair #define lP pait using namespace std; int main() { int l,m,n; cin>>l>>m>>n; m+=l/25; l=l%25; n+=m/4; m=m%4; n=n%10; cout<