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: 24/10/1757, input_format=dd/mm/yyyy

SOLUTION: 10/24/1757

PROBLEM: 24/11/1602, input_format=dd/mm/yyyy

SOLUTION: 11/24/1602

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

SOLUTION:
07/06/1721

