A = "23:59"
A = "21:00"
After 1 minute time will be 00:00 which is a palindromic time.
After 12 minute time will be 21:12 which is a palindromic time.
NOTE: You only need to implement the given function. Do not read input, instead use the arguments to the function. Do not print the output, instead return values as specified. Still have a question? Checkout Sample Codes for more details.