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

Ex Input:
['H', 3635, 'N', 'c', '2297', 'U', 'W', 'j', '7741', 'u', '2283', 'B', 9737, 'n'], ['U', 2701, 'e', 'z', 'd', 3631, 'E', 'V', 'c', '2297', 'U', 'W', 'j', '7741', 'u', '2283', 'c', 'F', 'b']

Ex Output:
c, 2297, U, W, j, 7741, u, 2283


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:
[8719, 4765, 'B', 'Z', 'E', 2247], [7985, 'v', 'B', 'Z', 'S', 'v']

Ex Output:

B, Z