Problem Description

Rename a file and print RENAMED or FAIL.

Input Format

stdin: old new.

Output Format

Print one word.

Sample Test Case

Input:
a.txt b.txt
Output:
RENAMED

Constraints

Use fs.renameSync.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next