given a string as input containing the ticket information of…

given a string as input containing the ticket information of passengers, writ a prog to print the ticket ID of all the passenger’s

input: ticket information of all passengers are given in a single string comma-separated input format source:destination: mobile numb

output format: print comma-separated ticket IDs of all the passengers.follow the format: first two characters of a source followed by last two characters of destination followed by the sum of the digits present in even indices including 0 of the mobile# followed by sequence# of the passenger in the input string starting with 1

exp: input

Paris:Delhi:9945672345,Berlin:Brussels:9456723456

expected output Pahi251,Bels292

Place this order or similar order and get an amazing discount. USE Discount code “GET20” for 20% discount