package main import "fmt" func main() { var N int fmt.Scan(&N) var count int for t := 0; t <= 20; t++ { for g := 0; g <= t; g++ { for pg := 0; pg <= 33; pg++ { if N == 5*t+g*2+pg*3 { count++ } } } } fmt.Println(count) }