In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['g', 'o', 'K', 'X', 9677, 'q', 1251, 4179, 6963, 'T', 4417, 2249, 'F', 'p', 7577, 'r', 'l', 'J', 2807, 'y', 'V', 10019, 'c', 6807, 'Z', '6381', 'A', '3829', 'g', '1715', 'S', 's', '5069', 'y', '703', 'Y', 'd', '5227', '6245', '8655', 'C', '8095', 'e', 'h', '6187', '9551', 'Y', 'l', '5763', '6327', '7247', 'w', 'l', 'Y', 'W', 'p', 'r', 1521, 'I', 5353, 'i', 'E', 'y', 'q', 341], [4183, 8399, 'X', 7179, 'X', 'f', 'm', '6381', 'A', '3829', 'g', '1715', 'S', 's', '5069', 'y', '703', 'Y', 'd', '5227', '6245', '8655', 'C', '8095', 'e', 'h', '6187', '9551', 'Y', 'l', '5763', '6327', '7247', 'w', 'l', 'Y', 'Y', 'p', 7169, 'y', 'q', 'R', 7747, 3071, 'U', 3877, 731, 9133, 5709, 'Z', 'W', 797, 5357, 8505, 'R', 5549, 9679, 't', 'J', 8519, 'B']