In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['o', 'C', 1507, 'T', 9173, 3503, 'V', 'j', 'z', '6019', '3165', '1903', '5715', 'T', 'N', '8329', '4347', '8209', 'a', 'y', '5215', 'h', 'h', 'z', '8721', '4981', 'C', '3151', 'U', '7283', 'X', 6903, 'w', 575, 5613, 'B'], [7797, 'H', 'b', 1043, '6019', '3165', '1903', '5715', 'T', 'N', '8329', '4347', '8209', 'a', 'y', '5215', 'h', 'h', 'z', '8721', '4981', 'C', '3151', 'U', '7283', 'y', 'J', 'd', 'k', 'g', 'j', 'X', 'D', 6621, 'E', 'l', 'N', 'S', 'Z', 7229, 'e', 'F', 'F', 'x']