TASK DEFINITION: In this task, you are given a date in a particular format and you need to convert to another format. If given format is "dd/mm/yyyy" then convert to "mm/dd/yyyy". If given format is "mm/dd/yyyy" then convert to "dd/mm/yyyy".
PROBLEM: 10/01/1676, input_format=mm/dd/yyyy

SOLUTION: 01/10/1676

PROBLEM: 25/06/1626, input_format=dd/mm/yyyy

SOLUTION: 06/25/1626

PROBLEM: 03/07/1937, input_format=dd/mm/yyyy

SOLUTION:
07/03/1937

