In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['p', 2937, 5379, 'x', 'P', 871, 'I', 's', 's', 7123, 'J', '6355', '5663', 'Q', 'v', '8687', '829', '4017', '4957', '7937', '1747', '2785', 'B', '549', '485', '6287', '1759', '4981', '6203', '7593', 'R', '141', 'O', 'z', 'x', '7647', '2965', 'T', '9985', 'H', 'S', 1393, 'I', 'T', 'B', 'e', 3701, 1913, 953, 3375, 'a', 'o', 8299, 5091, 235, 'b', 7455, 9983, 'Q', 9139, 1689, 7807, 17, 2667, 1197, 3155], [4319, 'B', 4219, 1531, 6145, 'A', 1389, 'W', 'w', 'j', 2879, 4429, 4641, 'G', 'h', 'J', '6355', '5663', 'Q', 'v', '8687', '829', '4017', '4957', '7937', '1747', '2785', 'B', '549', '485', '6287', '1759', '4981', '6203', '7593', 'R', '141', 'O', 'z', 'x', '7647', '2965', 'T', '9985', 8891, 'g', 'p', 515, 3927, 9875, 9303, 'r', 5679, 1441, 'Y', 3453, 4281, 7301, 3947, 'Z', 4617, 7007, 'X', 777, 4195, 'd', 'I', 8487, 'D', 8771]