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

Example Input: [2945, 6951, 2771, 'k', 'G', '7377', 'd', 'a', 'p', 'J', 'c', 'R', '6641', 'a', '2235', '3033', '3189', '7299', 'h', 'T', '5111', 'k', 'd', 4197, 'j', 'p', 'z', 1911, 'w', 6663, 7993, 5973, 3193, 7387, 'h', 'e', 8663, 2715], ['U', 'a', 'f', 7179, 7859, 'C', 6081, 2069, 3459, 'm', 'w', 'k', 'q', 'k', 'G', '7377', 'd', 'a', 'p', 'J', 'c', 'R', '6641', 'a', '2235', '3033', '3189', '7299', 'h', 'T', '5111', 'k', 'e', 'v', 'f', 5943, 8771, 'K', 'i', 'c', 'x', 7745, 'F', 'x', 3855, 'S', 5113, 1205]
Example Output: k, G, 7377, d, a, p, J, c, R, 6641, a, 2235, 3033, 3189, 7299, h, T, 5111, k

Example Input: [37, 2553, 'G', 'a', 325, 613, '4953', '1589', 'W', 'A', 'n', '5241', 'r', '1599', 'a', '6129', 'J', 'H', 'F', 'r', 'u', 'q', 7043, 'a', 'n'], [3683, 'D', 'l', 'G', 'T', 'Z', 'i', 9075, 'M', 'Y', 5963, '4953', '1589', 'W', 'A', 'n', '5241', 'r', '1599', 'a', '6129', 'J', 'H', 'F', 'r', 'u', 'C', 'Q', 'W', 2181, 'O', 'Q', 'D', 5703, 3461]
Example Output: 4953, 1589, W, A, n, 5241, r, 1599, a, 6129, J, H, F, r, u

Example Input: [5657, 7541, 'A', 8679, 3647, 8501, 7769, 4265, 'w', 7093, 6221, 'F', '5041', '3503', '1563', 'D', '2823', 'F', 'y', 'v', '7207', 'A', 'm', '6179', '5881', 'N', '8397', 'Z', 'Z', 'f', 'X', 3135], [3123, 'k', 'W', 'i', 8821, 8925, 5221, 't', 'F', '5041', '3503', '1563', 'D', '2823', 'F', 'y', 'v', '7207', 'A', 'm', '6179', '5881', 'N', '8397', 'Z', 'Z', 'f', 'N', 'b', 3939, 'f', 4821, 'S', 'e', 'G', 'o', 5227, 'U', 9463, 'b']
Example Output:
F, 5041, 3503, 1563, D, 2823, F, y, v, 7207, A, m, 6179, 5881, N, 8397, Z, Z, f