package main import "fmt" func main() { var n int _, _ = fmt.Scan(&n) fmt.Println((n/3 + n/5) * 2) }