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

Ex Input:
['j', 'Q', 2919, 2195, 'P', 'H', 'r', 'P', 5051, 'Y', 'W', 8151, 3411, 'L', 'v', 'k', 5531, 'm', '789', '421', '5807', '3707', 'h', '4147', 'G', '4797', 'm', 'v', '151', '5001', 'r', '2637', '9981', '4791', 'G', '5173', '5059', 'O', '4437', 'X', 'R', 'g', '1989', 'q', 'i', 'R', 1973, 'm', 3695, 'I', 7909, 'q', 2515, 7659, 'n', 'M', 2121, 4117, 'J', 'Y', 9869, 5551, 8069, 7393, 'Q', 'z', 5551, 'B', 's'], ['W', 9301, 'y', 2707, 5039, 1905, 1657, 'A', 7213, 1975, 9875, 8915, 'R', 1127, 1599, 1615, 2069, 'B', 5781, 'v', 127, 435, 9967, 'r', 'm', '789', '421', '5807', '3707', 'h', '4147', 'G', '4797', 'm', 'v', '151', '5001', 'r', '2637', '9981', '4791', 'G', '5173', '5059', 'O', '4437', 'X', 'R', 'g', '1989', 'X', 'O', 7793, 'Z', 'u', 3029]

Ex Output:
m, 789, 421, 5807, 3707, h, 4147, G, 4797, m, v, 151, 5001, r, 2637, 9981, 4791, G, 5173, 5059, O, 4437, X, R, g, 1989


Ex Input:
[675, 'N', '7605', 'W', 'J', 'E', '2099', 'I', 'i'], ['T', 8995, 'E', 'U', '7605', 'W', 'J', 'E', '2099', 'R', 3629, 977]

Ex Output:
7605, W, J, E, 2099


Ex Input:
['u', 3633, 4593, 'E', 'L', 7343, 'b', 'K', '1445', 'q', 'w', 'i', 'u', '4439', 'T', 'k', '1103', '8781', 'D', 'd', 'r', 'p', '467', '4069', 'a', 'X', 'M', '2237', 'a', '3495', '895', '6257', 'v', 'J', 4983, 'K', 'I', 451, 2089, 'U', 8837, 4513, 'j', 2983, 8765, 'a', 'V', 6513, 'q', 6829, 6217, 8489, 7519, 'A', 9855, 6399, 'x', 7627, 'X'], ['P', 1021, 6899, 3521, 1021, 'q', 4439, 3271, 'S', 5469, 619, 'I', 'o', 657, 5651, 6535, 4737, 269, 3371, 5037, 7331, 'A', 'b', 'K', '1445', 'q', 'w', 'i', 'u', '4439', 'T', 'k', '1103', '8781', 'D', 'd', 'r', 'p', '467', '4069', 'a', 'X', 'M', '2237', 'a', '3495', '895', '6257', 'v', 'M', 5959, 'c', 4023, 861, 4445, 2899, 'Y', 'Z', 6399, 7461, 'v', 'g', 9325, 2909, 5297, 4811, 8825, 'Q', 'c', 5203]

Ex Output:

b, K, 1445, q, w, i, u, 4439, T, k, 1103, 8781, D, d, r, p, 467, 4069, a, X, M, 2237, a, 3495, 895, 6257, v