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

Ex 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']

Ex 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


Ex Input:
[1363, 'O', 'u', '3885', 'y', '2105', '1495', '417', 'n', 9057, 2977], ['x', 'X', '3885', 'y', '2105', '1495', '417', 'X', 2883]

Ex Output:
3885, y, 2105, 1495, 417


Ex Input:
['E', 533, 3685, 1489, '6375', '2963', 'E', 'v', '2373', 'P', 'q', 'L', 'j', '3389', '3053', 'U', '1181', '4329', 'E', 'm', 3393, 'y', 'V', 'K', 'h', 'X', 'n', 6351, 931, 'g', 'E', 2513, 'd'], [2817, 'W', 'l', 4245, 'd', 9099, 8809, 'Q', 3609, 5643, 3667, 6983, '6375', '2963', 'E', 'v', '2373', 'P', 'q', 'L', 'j', '3389', '3053', 'U', '1181', '4329', 'E', 'n', 3211, 5787, 4455, 'M', 'r', 'd', 5315, 6513, 419, 1267, 8783, 5467]

Ex Output:

6375, 2963, E, v, 2373, P, q, L, j, 3389, 3053, U, 1181, 4329, E