In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['h', 6377, 6995, 'S', 'U', 'm', 5543, 'S', 2107, 3307, 2993, 'a', 'V', '449', 'o', 'S', 'c', '2535', '7621', '435', '7007', '8537', '9893', '6983', '4727', '7345', '9743', 'd', '8313', '4385', 'e', 10013, 5063, 1001, 3483, 'X'], [6733, 'p', 'p', 'M', 7953, 'e', 'Y', 1619, 't', 6597, 7107, 'F', 'i', 4209, 'V', '449', 'o', 'S', 'c', '2535', '7621', '435', '7007', '8537', '9893', '6983', '4727', '7345', '9743', 'd', '8313', '4385', 'K', 'h', 9455, 'P']