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

Example Input: [5071, 3641, 'a', 'n', 4549, 'K', '6783', 'P', '5113', '9801', '4323', 'u', '4227', 'G', 'J', '5259', 't', 'G', 'L', 3179, 10017, 'p', 1633, 3951, 3277, 'c'], ['k', 3793, 'G', 'z', 'F', 3735, 595, 'c', '6783', 'P', '5113', '9801', '4323', 'u', '4227', 'G', 'J', '5259', 'f', 'u', 9709, 6341, 'N', 'F', 'G', 5533]
Example Output: 6783, P, 5113, 9801, 4323, u, 4227, G, J, 5259

Example Input: ['v', 1865, 4265, 'k', 3919, '4767', '4811', 'F', 'N', '217', 'z', 'G', 'M', '6733', '8855', '2983', 'r', '5191', 'D', 817, 'J', 8167, 8877, 'l', 'r', 8675, 'h', 'b', 4225, 8785, 6811], ['w', 4835, 'R', '4767', '4811', 'F', 'N', '217', 'z', 'G', 'M', '6733', '8855', '2983', 'r', '5191', 'Z', 9303, 2325, 'W']
Example Output: 4767, 4811, F, N, 217, z, G, M, 6733, 8855, 2983, r, 5191

Example Input: ['r', 'i', 7417, 'o', 'b', 'M', 7257, 5731, 'c', 7549, 1403, 'M', 'Q', 9231, 'P', 'r', 7255, 'p', 'b', '6985', 'w', '4929', '9215', 'd', 'H', 'a', 'q', '8991', '6211', 't', '7111', '6231', 'D', '3439', 'J', 'P', '9441', '9665', 'i', 'f', 'M', 9191, 1749, 'i', 2429, 3177, 'U', 765, 'u', 's', 9217, 10015, 'A', 4069, 'U'], ['B', 'N', 5841, 2569, 'E', 'b', '6985', 'w', '4929', '9215', 'd', 'H', 'a', 'q', '8991', '6211', 't', '7111', '6231', 'D', '3439', 'J', 'P', '9441', '9665', 'i', 'M', 'O', 6425, 3373, 3825, 5719, 721, 'C', 4617, 'n', 'u', 'J', 'S', 'j']
Example Output:
b, 6985, w, 4929, 9215, d, H, a, q, 8991, 6211, t, 7111, 6231, D, 3439, J, P, 9441, 9665, i