In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['n', 9669, 5763, 'z', '1705', '1747', '6831', 'v', '1441', 'e', 'z', '9857', 'x', '653', 'B', '1299', 'G', 'l', 'P', 'P', '4577', '9089', 'o', 'Y', 'E', 2215, 9015, 9461, 'c', 'u', 'o', 8375, 901, 'n', 1967], ['z', 1417, 'r', 3603, 3349, 3067, 'i', 3477, 3941, 4135, 6715, 4721, 7995, 1761, 'S', '1705', '1747', '6831', 'v', '1441', 'e', 'z', '9857', 'x', '653', 'B', '1299', 'G', 'l', 'P', 'P', '4577', '9089', 'o', 'Y', 'd', 'k', 731, 8323, 603, 'G', 'k', 'G', 311, 10027, 5767, 3009, 'a', 'g', 'n', 9289, 'd', 5151, 9473, 5983]