package main import . "fmt" func main() { var a int Scan(&a) b:=make([]byte,9e8) b[len(b)-1]=byte(a) for _,v:=range b{ a-=int(v) } Println(a) }