Copy All
: You can copy all the characters present on the notepad (partial copy is not allowed).Paste
: You can paste the characters which are copied last time.n
. You have to getexactlyn
'A' on the notepad by performing the minimum number of steps permitted. Output the minimum number of steps to getn
'A'.n
will be in the range [1, 1000].