OK, so I was editing this program I made, and after making a slight adjustment to make up for a DOMAIN error, I sent it back to my TI-84+, and it said I had a bad token. I am unsure what I did, since I am quite new to BASIC coding. Can someone please try to find what the problem is?

Also, please ignore the awful coding. I'm new to it. However, if you're willing to optimize it, that would be GREATLY appreciated.

```
ClrHome
Lbl A
Menu("Guess the Number","Play",θ,"High Score",Z,"Exit",Y)
Lbl θ
ClrHome
Menu("Difficulty","Learner",X,"Easy",W,"Medium",V,"Hard",U,"Darn",T,"Back",S)
Lbl X
ClrHome
randInt(1,10)→K
Disp "PICK A NUMBER"
Output(16,1,"∞ Lives"
Input "BETWEEN 1-10 ",J
If K=J
Then
ClrHome
Disp "GJ"
Pause
Repeat I=105
getKey→I
End
Menu("You Won!","Play Again",X,"Try Different Difficulty",θ,"Exit",A)
Else
K≠J
Then
Goto X
Lbl 2
ClrHome
randInt(1,10)→K
Lbl B
Disp "PICK A NUMBER"
Output(15,1,"9 Lives")
Output(16,1,"Left")
Input "BETWEEN 1-10 ",J
If K=J
Then
ClrHome
Disp "GJ"
Pause
Repeat I=105
getKey→I
End
Menu("You Won!","Play Again",X,"Try Different Difficulty",θ,"Exit",A)
Else
K≠J
Then
Goto C
Lbl 3
ClrHome
randInt(1,10)→K
Lbl C
Disp "PICK A NUMBER"
Output(15,1,"8 Lives")
Output(16,1,"Left")
Input "BETWEEN 1-10 ",J
If K=J
Then
ClrHome
Disp "GJ"
Pause
Repeat I=105
getKey→I
End
Menu("You Won!","Play Again",X,"Try Different Difficulty",θ,"Exit",A)
Else
K≠J
Then
Goto D
Lbl 4
ClrHome
randInt(1,10)→K
Lbl D
Disp "PICK A NUMBER"
Output(15,1,"7 Lives")
Output(16,1,"Left")
Input "BETWEEN 1-10 ",J
If K=J
Then
ClrHome
Disp "GJ"
Pause
Repeat I=105
getKey→I
End
Menu("You Won!","Play Again",X,"Try Different Difficulty",θ,"Exit",A)
Else
K≠J
Then
Goto E
Lbl 5
ClrHome
randInt(1,10)→K
Lbl E
Disp "PICK A NUMBER"
Output(15,1,"6 Lives")
Output(16,1,"Left")
Input "BETWEEN 1-10 ",J
If K=J
Then
ClrHome
Disp "GJ"
Pause
Repeat I=105
getKey→I
End
Menu("You Won!","Play Again",X,"Try Different Difficulty",θ,"Exit",A)
Else
K≠J
Then
Goto V
Lbl 6
ClrHome
randInt(1,10)→K
Lbl F
Disp "PICK A NUMBER"
Output(15,1,"4 Lives")
Output(16,1,"Left")
Input "BETWEEN 1-10 ",J
If K=J
Then
ClrHome
Disp "GJ"
Pause
Repeat I=105
getKey→I
End
Menu("You Won!","Play Again",X,"Try Different Difficulty",θ,"Exit",A)
Else
K≠J
Then
Goto M
Lbl 7
ClrHome
randInt(1,10)→K
Lbl G
Disp "PICK A NUMBER"
Output(15,1,"2 Lives")
Output(16,1,"Left")
Input "BETWEEN 1-10 ",J
If K=J
Then
ClrHome
Disp "GJ"
Pause
Repeat I=105
getKey→I
End
Menu("You Won!","Play Again",X,"Try Different Difficulty",θ,"Exit",A)
Else
K≠J
Then
Goto T
Lbl W
ClrHome
randInt(1,10)→K
Disp "PICK A NUMBER"
Output(15,1,"10 Lives")
Output(16,1,"Left")
Input "BETWEEN 1-10 ",J
If K=J
Then
ClrHome
Disp "GJ"
Pause
Repeat I=105
getKey→I
End
Menu("You Won!","Play Again",X,"Try Different Difficulty",θ,"Exit",A)
Else
K≠J
Then
Goto B
Lbl V
ClrHome
randInt(1,10)→K
Lbl L
Disp "PICK A NUMBER"
Output(15,1,"5 Lives")
Output(16,1,"Left")
Input "BETWEEN 1-10 ",J
If K=J
Then
ClrHome
Disp "GJ"
Pause
Repeat I=105
getKey→I
End
Menu("You Won!","Play Again",X,"Try Different Difficulty",θ,"Exit",A)
Else
K≠J
Then
Goto 6
Lbl U
ClrHome
randInt(1,10)→K
Lbl M
Disp "PICK A NUMBER"
Output(15,1,"3 Lives")
Output(16,1,"Left")
Input "BETWEEN 1-10 ",J
If K=J
Then
ClrHome
Disp "GJ"
Pause
Repeat I=105
getKey→I
End
Menu("You Won!","Play Again",X,"Try Different Difficulty",θ,"Exit",A)
Else
K≠J
Then
Goto 2
Lbl T
ClrHome
randInt(1,10)→K
Lbl N
Disp "PICK A NUMBER"
Output(15,1,"1 Life")
Output(16,1,"Left")
Input "BETWEEN 1-10 ",J
If K=J
Then
ClrHome
Disp "GJ"
Pause
Repeat I=105
getKey→I
End
Menu("You Won!","Play Again",X,"Try Different Difficulty",θ,"Exit",A)
Else
K≠J
Then
Goto H
Lbl H
Menu("You Lost...","Play Again",X,"Try Different Difficulty",θ,"Exit",A)
Lbl Z
Goto 1
Lbl 1
ClrHome
Disp "This
Disp "has not been
Disp "developed yet."
Disp "Press CLEAR"
Disp "to continue"
Repeat I=45
getKey→I
End
Goto A
Lbl Y
ClrHome
Stop
```