In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['p', 8747, 'j', 'p', 7695, 'Z', 1229, 'b', 'Y', 'w', 'I', 'T', '1081', '5843', '9437', 'S', 'P', 'X', '3697', '6509', '2043', '1793', 'p', 'm', 7025, 7581, 8317, 'S', 7269, 2641], [8279, 'E', 1841, 'h', 'Z', 2473, 1065, 6277, 'c', 'A', 'I', 'T', '1081', '5843', '9437', 'S', 'P', 'X', '3697', '6509', '2043', '1793', 's', 'd']