In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3795, 'P', 4289, 'p', 'S', 6369, 'S', 8941, 'a', 'P', 'S', 'g', 'H', 7019, '9981', '4045', '8807', 'y', '9247', 'N', '7977', 'O', '1319', '4351', 'D', 'b', '9419', 'l', '6625', 'A', '10013', 'n', '1677', 'q', '4913', 'P', 'R', 'l', 'o', 'Q', '2733', 'j', '3129', 's', 4425, 'N', 8535, 'g', 'R', 923, 6341, 'L', 'C', 1299, 2539, 'W', 'u', 'n', 1185, 'U', 9085, 6901, 6043, 6353, 7147, 'C'], ['P', 'b', 1721, '9981', '4045', '8807', 'y', '9247', 'N', '7977', 'O', '1319', '4351', 'D', 'b', '9419', 'l', '6625', 'A', '10013', 'n', '1677', 'q', '4913', 'P', 'R', 'l', 'o', 'Q', '2733', 'j', '3129', 'Q', 'O', 95, 1785, 'M', 'U', 7761, 'c', 1531, 'u', 'A', 7787, 'h', 'n', 'b', 3763, 7185, 9669, 'D', 6871, 'v', 'n', 3443]