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

Example Input: [127, 'J', 'v', 6999, 'g', 'G', 1965, 'E', 8699, 7579, 9265, 6993, 'B', 'R', 'I', '8517', 'V', 'W', '7777', 'K', '4475', '2323', 'z', '7003', 'h', 'q', 'T', '6623', 'L', 851, 9385, 8367, 'J'], [1577, 'y', 121, 6195, 'B', 'R', 'I', '8517', 'V', 'W', '7777', 'K', '4475', '2323', 'z', '7003', 'h', 'q', 'T', '6623', 'T', 'M', 'l', 'D', 'z', 9687, 1645, 'W', 1249, 5527, 297]
Example Output: B, R, I, 8517, V, W, 7777, K, 4475, 2323, z, 7003, h, q, T, 6623

Example Input: ['l', 3279, 2027, 5827, 2313, 'v', 'T', 'O', 'E', 4721, 8305, 'D', 'l', 7653, 691, 8635, 9965, 1271, 'c', 'p', '7861', 'j', 'Z', '1625', '4881', '4155', 'h', 'n', 'o', 'd', '3563', 'L', 'x', '9939', '3911', '4255', 'v', '1067', '3399', 'x', 'Z', 4211, 'r', 'a', 2311, 3909, 't', 'w', 9527, 'Z', 'A', 2927], [4809, 'D', 'B', 'w', 6325, 10019, 2381, 4757, 'f', 1485, 2737, 'B', 7953, 'v', 8565, 'f', '7861', 'j', 'Z', '1625', '4881', '4155', 'h', 'n', 'o', 'd', '3563', 'L', 'x', '9939', '3911', '4255', 'v', '1067', '3399', 'x', 'K', 'Q', 'd', 8559, 'p', 5259, 'o', 9663, 'j', 4891, 'm', 'C', 2501, 7067, 1463, 'U', 'p']
Example Output: 7861, j, Z, 1625, 4881, 4155, h, n, o, d, 3563, L, x, 9939, 3911, 4255, v, 1067, 3399, x

Example Input: [2747, 'r', 9555, 9005, 'A', 'o', 'u', 639, 8231, 6721, 8347, 'y', 2985, 'j', '3441', 'B', 'P', '9057', '8419', '7761', 'L', '2787', 'D', '2377', '8617', 'u', '2491', '6999', '9757', 'G', 'k', 'e', 7121, 'L', 'h', 'c', 'D', 1793, 'b', 8679, 3157, 6753, 'H', 8099, 'k', 9869, 'i', 'l'], [4573, 9659, 2025, 8287, 'K', 73, 8199, 'D', 1479, 'r', '3441', 'B', 'P', '9057', '8419', '7761', 'L', '2787', 'D', '2377', '8617', 'u', '2491', '6999', '9757', 'G', 'k', 'z', 'N', 'v', 6599, 625, 9475, 'P', 3381, 5477]
Example Output:
3441, B, P, 9057, 8419, 7761, L, 2787, D, 2377, 8617, u, 2491, 6999, 9757, G, k