instruction:
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".
question:
11/15/1747, input_format=mm/dd/yyyy
answer:
15/11/1747


question:
03/15/1977, input_format=mm/dd/yyyy
answer:
15/03/1977


question:
31/03/1948, input_format=dd/mm/yyyy
answer:

03/31/1948


