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

Example Input: [431, 4017, 'R', 'a', 'F', '9581', 'Y', 'f', 'z', 'b', 1235], [4115, 'u', 'g', 'f', 2455, 'a', 'F', '9581', 'Y', 'f', 'z', 'm', 7245, 'I', 7021]
Example Output: a, F, 9581, Y, f, z

Example Input: [5367, 7499, 'a', '3619', '5119', '4219', '769', '8735', '6417', 'V', 'W', 'o', 'M', 'T', 'q', 'J', 't', 3991], [3847, 'h', 8145, 'z', 'C', 6061, 5347, 'U', 'a', '3619', '5119', '4219', '769', '8735', '6417', 'V', 'W', 'w', 5279, 4553]
Example Output: a, 3619, 5119, 4219, 769, 8735, 6417, V, W

Example Input: ['n', 6527, 307, '5089', '9201', 'f', '3175', 'd', 'C', 'H', '6745', '5739', 'c', '8023', 'y', '6567', '1077', 'L', '821', '1855', 'k', '1447', 'F', 'V', 7501, 3525, 'i', 8609, 'h', 3441, 5923, 'w', 'k'], ['O', 'A', 7715, 'b', 399, 1955, 'S', 5253, 6471, 't', 1011, 2993, 5733, 1059, '5089', '9201', 'f', '3175', 'd', 'C', 'H', '6745', '5739', 'c', '8023', 'y', '6567', '1077', 'L', '821', '1855', 'k', '1447', 'F', 'o', 5971, 2669, 'f', 'T', 'P', 'j', 'A']
Example Output:
5089, 9201, f, 3175, d, C, H, 6745, 5739, c, 8023, y, 6567, 1077, L, 821, 1855, k, 1447, F