Input

['a','b','c'], ['12','45'],['67','89']

OutPut