package main import . "fmt" func main() { var n int64 Scan(&n) Println(52*n-52+316) }