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: 15/09/1674, input_format=dd/mm/yyyy

SOLUTION: 09/15/1674

PROBLEM: 06/07/1721, input_format=dd/mm/yyyy

SOLUTION: 07/06/1721

PROBLEM: 15/08/1673, input_format=dd/mm/yyyy

SOLUTION:
08/15/1673