package main import ( "fmt" ) func main() { for i := 1000; i < 2000; i++ { s := fmt.Sprintf("%d", i) fmt.Println(s[1:]) fmt.Scan(&s) if s == "unlocked" { break } } }