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

Ex Input:
[1231, 'a', 9367, '155', 'r', '1473', '5679', '3161', 'L', 'e', 'b', 'm', '9427', '2001', '5293', '3487', 'K', '6467', 'S', 'e', 6603, 'm', 8145, 'L', 's', 1273, 9291, 'X'], [5773, 'D', 'W', 'F', 5987, 'D', 'H', 2095, 'I', 'X', 29, '155', 'r', '1473', '5679', '3161', 'L', 'e', 'b', 'm', '9427', '2001', '5293', '3487', 'K', '6467', 'S', 'C', 'a']

Ex Output:
155, r, 1473, 5679, 3161, L, e, b, m, 9427, 2001, 5293, 3487, K, 6467, S

Ex Input:
['h', 'L', 2481, 8463, 1309, '7587', '521', 'a', '1617', '5245', '5629', '9977', 'o', 'I', 4133, 't', 'i'], ['P', 5497, '7587', '521', 'a', '1617', '5245', '5629', '9977', 'I', 2251, 'p', 's', 'n', 'k', 8259]

Ex Output:
7587, 521, a, 1617, 5245, 5629, 9977

Ex Input:
[233, 'M', '9129', '9657', '1927', '8243', '225', 'C', 'h', 'V', 'b', 't', 'N', 'f'], ['H', 'B', 7957, 835, 'I', '9129', '9657', '1927', '8243', '225', 'C', 'F', 'g']

Ex Output:
9129, 9657, 1927, 8243, 225, C