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

Ex Input:
['i', 'f', '7401', 'y', 'D', 's', 'l', '2179', '6257', 'V', 'r', 'r', 'F', 45, 5965, 2375], ['K', 'V', '7401', 'y', 'D', 's', 'l', '2179', '6257', 't', 6019, 4243, 'r', 9711, 'j', 2361]

Ex Output:
7401, y, D, s, l, 2179, 6257

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:
[5377, 's', 7037, 'g', 6339, 'f', '4175', 'h', '5301', '6331', '3903', 'H', 'r', 8685, 3173], [351, 8011, '4175', 'h', '5301', '6331', '3903', 'H', 'z', 3925, 'c', 'N', 1309]

Ex Output:
4175, h, 5301, 6331, 3903, H