I don't think anyone wrote the number. When the MC woke up from their dream, they said it was their handwriting. Since dreams reveal a part of lost memories, they must have written the number while unconscious.
thats a really good point!!!
oh yeah that makes sense!!