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

Example Input: ['i', 'n', '7509', '7241', 'V', 'k', 205, 'H'], ['s', 4349, 7023, '7509', '7241', 'V', 'O', 't', 9237]
Example Output: 7509, 7241, V

Example Input: ['q', 'O', 7981, 'U', 'V', 's', 't', 6911, 'i', 'K', 'O', 'F', 1359, 3839, 'g', '2555', 'H', '9877', 'Y', '3433', '5661', '2061', 'j', 'j', '2413', '3795', 'c', '6529', 'F', '1099', 'f', 'U', 'b'], ['V', 'D', '2555', 'H', '9877', 'Y', '3433', '5661', '2061', 'j', 'j', '2413', '3795', 'c', '6529', 'F', '1099', 'U', 'm', 8601, 881, 1009, 1759, 5669, 8581, 'm', 8715, 8913]
Example Output: 2555, H, 9877, Y, 3433, 5661, 2061, j, j, 2413, 3795, c, 6529, F, 1099

Example Input: [2441, 'w', 169, 'n', 647, 'h', '4295', 's', '347', '2759', 'v', 'f', 'r', '3373', '6919', '6589', '6417', 'j', 'z', 'N', '3669', 'J', 'G', '8009', 'J', '6971', 'S', 5639, 'I', 'O', 'k', 'o', 3977, 'P', 765, 'e', 9165, 8097, 'E', 1471, 'k'], ['R', 3183, 'D', 'C', 9573, 2261, 'S', 'p', 'b', 501, 8395, 1211, 8737, 'j', 'r', 't', 8321, 7351, 'U', 'I', '4295', 's', '347', '2759', 'v', 'f', 'r', '3373', '6919', '6589', '6417', 'j', 'z', 'N', '3669', 'J', 'G', '8009', 'J', '6971', 'I', 'c', 1485, 'v', 9489, 'W', 'x', 8127, 'F', 'i', 8043, 2947, 1947, 'c', 829, 'o', 'c']
Example Output:
4295, s, 347, 2759, v, f, r, 3373, 6919, 6589, 6417, j, z, N, 3669, J, G, 8009, J, 6971