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

Ex Input:
['s', 'M', 'y', 'b', 'S', 'P', 'J', '8781', '7865', '1961', '6767', 'a', 'r', 'H', 'j', 'a', 'b', 'i', 'A', 2579, 8191, 'g', 3591, 4195, 'q', 1357], ['F', 'U', 'G', 7763, 1385, 'm', 1089, 4701, 1565, 'm', 9713, 'P', 'J', '8781', '7865', '1961', '6767', 'a', 'r', 'H', 'j', 'a', 'X', 'b', 'f', 7385, 'G']

Ex Output:
P, J, 8781, 7865, 1961, 6767, a, r, H, j, a


Ex Input:
['C', 'b', 'L', 9325, 'M', 'p', 7813, 'J', '1879', 'l', '6011', '8425', '5761', '8567', '529', '3079', '2611', '9387', '909', '751', 'Q', 4393, 'x', 5071, 6297], [347, 'W', 8317, 'm', 655, 2215, 9489, 9125, 7317, 'J', '1879', 'l', '6011', '8425', '5761', '8567', '529', '3079', '2611', '9387', '909', '751', 'L', 6565, 5537, 'C', 'S', 543, 5541, 'Z', 'q', 'W', 8259, 9311]

Ex Output:
J, 1879, l, 6011, 8425, 5761, 8567, 529, 3079, 2611, 9387, 909, 751


Ex Input:
[4943, 's', 'c', 'f', 'Q', 5131, 4687, 'l', 5041, '7541', '8633', 'a', 'm', '2789', '307', 'q', '4769', 't', '1409', 'h', 'D', 'k', '8495', 'l', '8299', 'h', 1857, 'S', 'M', 'B', 'y', 7505], ['h', 'I', 'G', '7541', '8633', 'a', 'm', '2789', '307', 'q', '4769', 't', '1409', 'h', 'D', 'k', '8495', 'l', '8299', 'x', 'Q', 9315, 6381, 6461, 'h', 'C']

Ex Output:

7541, 8633, a, m, 2789, 307, q, 4769, t, 1409, h, D, k, 8495, l, 8299