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

Example Input: [3409, 'W', 7371, 705, 4353, 6055, 1109, '2039', '1331', 'M', '1507', '1583', '9005', '3561', 'm', '3453', '9927', 'L', '5625', '3923', '5839', 'b', 'a', '1865', 'l', 'Z', '4855', '2985', 'l', '7011', 'Z', 'f', '6205', 'd', 'r', 5975, 7455, 'P', 7563, 'A', 797, 'm', 'y', 'S'], [851, 'D', 'Z', 't', 'd', 189, 'V', 'o', 8559, 3455, '2039', '1331', 'M', '1507', '1583', '9005', '3561', 'm', '3453', '9927', 'L', '5625', '3923', '5839', 'b', 'a', '1865', 'l', 'Z', '4855', '2985', 'l', '7011', 'Z', 'f', '6205', 'x', 'q', 7907, 857, 2245, 5847, 'h']
Example Output: 2039, 1331, M, 1507, 1583, 9005, 3561, m, 3453, 9927, L, 5625, 3923, 5839, b, a, 1865, l, Z, 4855, 2985, l, 7011, Z, f, 6205

Example Input: [8409, 4833, '3743', '7709', '4991', '1023', 'z', 'T', 9821, 'v', 'S', 2959], [2565, 6315, 'm', '3743', '7709', '4991', '1023', 'z', 'V', 'K', 'h', 'e']
Example Output: 3743, 7709, 4991, 1023, z

Example Input: ['A', 615, 1273, 'A', 8581, 'W', 'v', 'a', '8161', '8881', 'O', '697', '2319', '7491', '3895', 'g', 'I', 'K', 'P', '3333', '6139', '8047', '8323', '121', 'm', '5429', '3039', 'p', '8989', '1477', 'c', 'E', 'I', 'x', 9759, 1601, 6135, 617, 'V', 3813, 1511, 19, 2295, 9299, 4073, 7891, 'L', 1223, 'Z', 'k', 'x', 'L', 'J', 3693, 2931, 'm'], [7497, 'q', 'h', 'k', 8105, 9269, 's', 9835, 'O', 8317, '8161', '8881', 'O', '697', '2319', '7491', '3895', 'g', 'I', 'K', 'P', '3333', '6139', '8047', '8323', '121', 'm', '5429', '3039', 'p', '8989', '1477', 'c', 'E', 'I', 'd', 'L', 'h', 301, 7873, 1045, 9867, 'v', 'v', 'E', 's', 137, 'W', 6085]
Example Output:
8161, 8881, O, 697, 2319, 7491, 3895, g, I, K, P, 3333, 6139, 8047, 8323, 121, m, 5429, 3039, p, 8989, 1477, c, E, I