
Save File

You are given a sequence of names of existing files and a single filename that need to be saved into the sequence.
If a file with the same name already exists in the sequence, a numerical suffix (n)
should be added to the file name (the first integer n
, with which a new filename is not present in the sequence). Note, that filename may already include one or more suffixes.
...
You should be an authorized user in order to see the full description and start solving this mission.