Q: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['u', 3629, 'A', 2837, 'i', 'd', 'Z', 'y', 421, 'N', 'L', 6323, 'n', 567, 3387, 5037, 7065, 8345, 4589, 3853, 'O', 8213, 'R', 'T', 'Y', 9789, 'J', 'g', '9019', 'p', 'V', '6489', 'v', '6153', '8335', '2617', '3865', '2603', 'U', '2851', '6047', '9011', '2147', 'g', '5797', '5767', 'm', '3233', 'c', '1705', '5347', '5225', 'l', 'J', '5323', 'P', '4717', 'y', 'j', 'v', 7579, 'd', 6175, 'Y', 'Q', 'X', 'w', 2153, 'g', 'Y', 9429, 5051, 8797, 5199, 3557, 'N', 'O', 'P', 'S', 9889, 7665, 'm', 'K'], ['U', 'c', 8073, 5143, 'i', 7461, 3821, 'g', '9019', 'p', 'V', '6489', 'v', '6153', '8335', '2617', '3865', '2603', 'U', '2851', '6047', '9011', '2147', 'g', '5797', '5767', 'm', '3233', 'c', '1705', '5347', '5225', 'l', 'J', '5323', 'P', '4717', 'W', 'Z', 6623, 'h', 3047, 201, 2541, 6489, 'D', 8957, 8351, 'M', 85, 7779]
A:
g, 9019, p, V, 6489, v, 6153, 8335, 2617, 3865, 2603, U, 2851, 6047, 9011, 2147, g, 5797, 5767, m, 3233, c, 1705, 5347, 5225, l, J, 5323, P, 4717