You are given a task to print a maximum of As with the given number of keystrokes. There are four keys you use
Sample Input: 7 (Number of times we can press the key)
Sample Output: 9
Explanation:
A A A Ctrl+A Ctrl+C Ctrl+V Ctrl+V
By following this sequence, A can be printed 9 times.
@@coding::1@@
Recommended Programs