package main import . "fmt" func main() { var n int Scan(&n) x:=[]int{} for a:=1;a<=9;a++ { for b:=a+1;b<=9;b++ { x=append(x,a*10+b) } } n-- e:=x[n%len(x)] Print(e) s:=Sprint(e%10) for i:=0;i