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

Ex Input:
['L', 'B', 'j', 5005, 1135, 6853, '395', '4543', '2301', 'B', '9275', '7891', '9083', '5417', '7543', '8291', '2655', 'm', 'g', '7981', '5703', '1179', 'i', 9785, 't', 'G', 'r', 'w', 'B', 3093], ['z', 'm', 'J', '395', '4543', '2301', 'B', '9275', '7891', '9083', '5417', '7543', '8291', '2655', 'm', 'g', '7981', '5703', '1179', 'D', 5163, 4649, 6219, 3227, 6101, 'y', 'K', 'W', 2233, 'n']

Ex Output:
395, 4543, 2301, B, 9275, 7891, 9083, 5417, 7543, 8291, 2655, m, g, 7981, 5703, 1179


Ex Input:
[5401, 'j', 'y', 'I', 'X', 'o', 'P', 'F', 'Z', 'N', '3703', 'V', 'b', 'I', '6417', 'c', '5287', 'K', '9693', 'r', 'Z', 'F', 2683, 8021, 'c', 8229, 1989, 'm', 'r', 'O', 393, 2007, 9669, 'g', 8273], [6117, 7069, 'N', 'b', 7691, 3999, 8865, 1449, 'J', 'H', 'n', 'S', 7143, 6141, 2137, 'I', 'X', 'o', 'P', 'F', 'Z', 'N', '3703', 'V', 'b', 'I', '6417', 'c', '5287', 'K', '9693', 'h', 4013, 9577, 3799]

Ex Output:
I, X, o, P, F, Z, N, 3703, V, b, I, 6417, c, 5287, K, 9693


Ex Input:
['K', 'b', 7217, 1943, 1293, 8593, 'X', 1485, 'U', 'M', 'G', 'a', 5265, 'O', 'R', 689, 'l', 'w', 6603, 'P', 6961, 7875, 1041, 'T', '6789', 'W', 'a', '8157', '2863', 'R', '929', 'W', 'S', '9801', '1597', '2653', 'v', '329', 'c', '339', 'T', 'R', 'K', 'r', '1455', 'b', '7897', 'D', 'L', '4681', '5843', '2543', 'a', 585, 735, 'I', 'P', 6943, 'P', 3851, 9393, 6959, 275, 7377, 'F', 'i', 2813], [657, 'h', 'l', 5507, 1643, 'M', 'g', 6227, 8915, 'J', 'R', '6789', 'W', 'a', '8157', '2863', 'R', '929', 'W', 'S', '9801', '1597', '2653', 'v', '329', 'c', '339', 'T', 'R', 'K', 'r', '1455', 'b', '7897', 'D', 'L', '4681', '5843', '2543', 4085, 'G', 4333, 'E', 8427, 'r', 2279, 'C', 167, 199, 7077, 'J', 299, 6505, 'S', 'B', 4243, 'm', 8229, 'x', 5781, 7443]

Ex Output:

6789, W, a, 8157, 2863, R, 929, W, S, 9801, 1597, 2653, v, 329, c, 339, T, R, K, r, 1455, b, 7897, D, L, 4681, 5843, 2543