In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6115, 'E', 's', 'O', 9351, 'y', 9989, 'o', 9689, 29, 887, 'T', 'q', '5393', '8109', '4993', 'x', 'o', '1377', '2613', 'V', '3911', 'q', '2641', 'G', '7073', '29', 'p', 'R', 't', 'P', 7049, 'K', 'u', 3559, 'a', 8647, 2943, 2561, 109], ['s', 5147, 'q', '5393', '8109', '4993', 'x', 'o', '1377', '2613', 'V', '3911', 'q', '2641', 'G', '7073', '29', 'p', 'R', 'h', 1345]