In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['M', 1603, 4455, 2353, 'T', 'C', 'S', '7079', '6447', '1', '2533', 'H', 'e', 'd', 'p', '7575', '7151', 'K', 7851, 1835, 'D', 'Y', 431, 607, 'N', 1395, 3347, 7717], ['c', 'X', 6285, 7103, 'A', 4889, 6481, 5089, 7855, 'C', 'S', '7079', '6447', '1', '2533', 'H', 'e', 'd', 'p', '7575', '7151', 'n', 9363, 5009, 2443, 4827, 2629, 9101, 1589, 4705, 8595, 9265, 7687]