In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

Example Input: [5307, 'b', 'I', '9451', 'W', 7941], [8087, 'U', 'I', '9451', 'g', 'I']
Example Output: I, 9451

Example Input: ['p', 'C', 6777, 'P', 'd', 4619, 'l', '4333', '9491', 'V', '5745', 'P', '9255', '9439', '8461', 'D', 'L', 'w', 'R', 'U', 'C', 'G', 'm'], ['U', 5295, 'O', 'F', '4333', '9491', 'V', '5745', 'P', '9255', '9439', '8461', 'D', 'L', 'w', 'R', 'W', 'C', 'I', 'K', 5891]
Example Output: 4333, 9491, V, 5745, P, 9255, 9439, 8461, D, L, w, R

Example Input: ['h', 'h', 'Y', 8189, 1861, 1627, 3047, 'w', 't', 'h', 345, 'h', 4985, 'C', 'm', 'N', '8189', '2645', '5389', '1429', '403', '4949', '4513', 'c', '5513', '6257', '2451', 'n', 'H', 'm', 6349, 6701, 'S', 'W', 'l', 6101, 'd'], ['U', 'F', 5937, 'Z', 'X', 9011, 'x', 'q', 'm', 4875, 'E', 701, 'E', 3943, 'v', 'C', 'm', 'N', '8189', '2645', '5389', '1429', '403', '4949', '4513', 'c', '5513', '6257', '2451', 'n', 'H', 'd', 175, 'J', 7905, 'e', 4365, 'y', 3461, 'B', 'X', 'r', 8997, 7227, 9305]
Example Output:
C, m, N, 8189, 2645, 5389, 1429, 403, 4949, 4513, c, 5513, 6257, 2451, n, H