Definition: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: ['C', 4925, 'y', 2297, 'z', 1561, 'm', 'N', 6031, 'O', 'F', 8053, 'I', 'm', 'w', 5871, 2093, 'D', 'b', 7881, 'A', 'P', 'J', 'O', 'C', 'e', 'y', '4307', 'q', 'm', '1181', 'v', 'N', '613', '6555', '8923', '8501', 'B', '1853', '419', '5785', 'I', '1081', 't', 'k', '4337', 'w', 'a', 'u', 'A', 'W', 'U', 4385, 6737, 1107], [2039, 'c', 9307, 'S', 'd', 1917, 'S', 6571, 'X', 4687, 9937, 931, 2729, 4691, 'W', 9173, 669, 7643, 'i', 'm', 'b', 't', 1999, 'K', 4119, 'r', 4395, 'C', 'e', 'y', '4307', 'q', 'm', '1181', 'v', 'N', '613', '6555', '8923', '8501', 'B', '1853', '419', '5785', 'I', '1081', 't', 'k', '4337', 'w', 'a', 'u', 'A', 'W', 'd', 4795, 9535, 9037, 'g', 537, 'Z', 2893, 'X', 5795, 'K', 7501, 's', 'u', 805, 4513, 'G', 391, 1461, 'L', 8853, 1095]
Output:
C, e, y, 4307, q, m, 1181, v, N, 613, 6555, 8923, 8501, B, 1853, 419, 5785, I, 1081, t, k, 4337, w, a, u, A, W