// No.1942 Leading zero package main import ( "fmt" "strconv" ) func main() { var n int fmt.Scan(&n) s := make([]string, n) for i := 0; i < n; i++ { fmt.Scan(&s[i]) } for _, v := range s { ii, _ := strconv.Atoi(string(v)) fmt.Println(ii) } }