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

Example Input: [9779, 'C', 8839, 1257, 9375, 6513, 3027, 'c', 4415, 8523, 3873, '4225', '3367', 'c', 'f', '477', '7185', '6657', 'z', 'f', 'H', 'l', 'p', 'F', '7941', 'M', '4439', 'R', '9505', 's', 'R', 'x', 'w', 'Z', 993], ['H', 'e', 4231, 'R', 1623, 773, 2271, 'w', 'V', 8053, 3873, 'x', 'O', 'S', 311, '4225', '3367', 'c', 'f', '477', '7185', '6657', 'z', 'f', 'H', 'l', 'p', 'F', '7941', 'M', '4439', 'R', '9505', 's', 'R', 'x', 'w', 'v', 'F', 'L', 6355, 't', 1707, 'y', 2711, 'u', 5697]
Example Output: 4225, 3367, c, f, 477, 7185, 6657, z, f, H, l, p, F, 7941, M, 4439, R, 9505, s, R, x, w

Example Input: [5363, 'h', 3845, 6217, 2315, 'm', 'O', 5573, 4601, 7145, 9561, 'q', 'r', 'T', '619', 'r', '8913', '7507', '4527', '9313', '7813', '4297', '9581', '561', 'L', 'F', '9357', '5175', '1853', 'K', 'a', '8575', 'V', '8283', 'J', '5341', 'Y', 9545, 6705, 6445, 'X', 7149, 'B', 9079, 'P', 9337, 3641, 3731, 4837, 't'], [4089, 'f', 'A', 'q', 477, '619', 'r', '8913', '7507', '4527', '9313', '7813', '4297', '9581', '561', 'L', 'F', '9357', '5175', '1853', 'K', 'a', '8575', 'V', '8283', 'J', '5341', 'q', 't', 'g', 'T', 8621, 'Z', 'L', 'd', 9207, 5705, 'Z', 'l', 'I', 'Z', 1141, 9949, 867, 'H', 'E', 3605, 3617, 331]
Example Output: 619, r, 8913, 7507, 4527, 9313, 7813, 4297, 9581, 561, L, F, 9357, 5175, 1853, K, a, 8575, V, 8283, J, 5341

Example Input: [3311, 7769, 9805, 5403, 9805, 'X', 'k', 9647, 'l', '3521', '2401', '2289', '4715', '7345', 'H', '2633', 'R', '5573', 'R', 2969, 'Q', 'h', 5097], [6611, 499, 5409, 's', 9485, 9981, 'x', 8121, 'l', '3521', '2401', '2289', '4715', '7345', 'H', '2633', 'R', '5573', 'J', 'I', 9867]
Example Output:
l, 3521, 2401, 2289, 4715, 7345, H, 2633, R, 5573