package main import ( "fmt" ) func main() { var L, M, N, c int fmt.Scan(&L, &M, &N) c, N = change(N, 25) M += c c, M = change(M, 4) L += c _, L = change(L, 10) fmt.Println(L + M + N) } func change(coin, rate int) (large, small int) { return coin / rate, coin % rate }