In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['k', 531, 5517, 'g', 'R', 479, 3167, 6385, 9779, 'a', 'N', 175, 4671, 'Q', 'E', 3841, 1063, 4147, 3705, 'H', 'K', 'q', 8087, 'E', 'R', '4953', 'f', '7373', 'K', '807', '8943', '8471', '6865', '9121', '7159', 'I', 'e', '7701', '6461', '7169', 'Y', '6647', 'D', '7151', 'n', 'b', 'Q', '5949', 'z', 'e', 'C', 'J', 6185, 7641], ['B', 'v', 'F', 'v', 'v', 2635, 'g', 3857, 'c', 7361, 2711, 'y', 'k', 8945, 'R', '4953', 'f', '7373', 'K', '807', '8943', '8471', '6865', '9121', '7159', 'I', 'e', '7701', '6461', '7169', 'Y', '6647', 'D', '7151', 'n', 'b', 'Q', '5949', 't', 6305, 7033, 'x', 9841, 'F', 'A', 'd', 675, 6743, 'a', 'X', 'q']