Consider the sequence formed by repeatedly writing the digits "123456789" in order. What is the 2023rd digit in this sequence? Let's think step by step and output the final answer within \boxed{}.
user