package main import . "fmt" func main() { var n int Scan(&n) Println(2-n%2) }