In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['n', 2397, 6867, 1135, 'F', 6901, 'u', 'g', 'R', 'O', 'z', 'L', 5377, 8275, 'r', 'R', '3135', 'x', '1409', 'c', 'm', '3359', 'k', 'H', 'U', '4761', 'i', '5521', '2913', '9007', 'B', 'O', 'y', 'k', 5995, 2423, 6735, 6619, 'v', 'J', 'Q', 3019, 'N'], ['B', 'T', 111, 2081, 'a', 6891, 3795, 'L', 'U', 7249, 'S', 'd', 331, 531, 'l', 8201, '3135', 'x', '1409', 'c', 'm', '3359', 'k', 'H', 'U', '4761', 'i', '5521', '2913', '9007', 'B', 'O', 'r', 'a', 2605, 'Q', 9109, 8931, 5787, 'a', 2117, 'g', 'h', 3939, 'W', 'j']