Repeat X Times?

Good evening,

I’m trying to create a Shortcut to list out a number of chapters using a number I specify in an Ask for Input action, like this:
[I input 32]
-Chapter 1
-Chapter 2
-Chapter 3

-Chapter 32

I was initially planning to use the Repeat action, assuming the number could be a variable, but it can’t - it’s static. This seems like it should be really straightforward, but I cannot for the life of me figure out how to make this happen. Any suggestions?

Thank you,

Tap on hold on to the repeat counter field to get more options like selecting a magic variable.

:woman_facepalming: Well, that’s slightly embarrassing. Thank you!