Https://online.codingblocks.com/player/3708/content/770

https://online.codingblocks.com/player/3708/content/770

How should we give the output for the answer to get accepted?

Each output should be in a new line.(not space separated)