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

Ex 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]

Ex Output:
a, 3619, 5119, 4219, 769, 8735, 6417, V, W


Ex Input:
[1291, 3229, 'C', 'P', 5501, 'M', 7039, '5337', 'L', '5089', 'q', '9619', '2651', '2899', '1103', '7949', 'T', '199', 'N', '4359', 'g', '597', '2195', 'F', '8427', '7741', '3033', '4565', '4957', 'Y', '37', '9017', 'k', '2555', 'z', '4683', 'q', 'p', 2557, 797, 'z', 'p', 'z', 'K'], ['a', 6929, 'h', 'r', 'Q', 'v', 'L', 4801, 'J', 1849, 4197, 5077, '5337', 'L', '5089', 'q', '9619', '2651', '2899', '1103', '7949', 'T', '199', 'N', '4359', 'g', '597', '2195', 'F', '8427', '7741', '3033', '4565', '4957', 'Y', '37', '9017', 'k', '2555', 'z', '4683', 'q', 'N', 773, 'g', 2295, 7477, 'R', 'I', 6823, 9695, 'v', 543, 'R', 7201, 9203, 1731, 'v', 4213, 767, 4273, 6557, 4155, 5339, 9859, 'w', 'D']

Ex Output:
5337, L, 5089, q, 9619, 2651, 2899, 1103, 7949, T, 199, N, 4359, g, 597, 2195, F, 8427, 7741, 3033, 4565, 4957, Y, 37, 9017, k, 2555, z, 4683, q


Ex Input:
[6137, 1795, 'J', 9247, 'r', 'w', 'E', 's', '687', 'N', '8213', '1751', '2567', '5673', 'y', '6821', '6863', '8847', 'z', 's', 'N', 'z', 'J', 7209, 'S'], [3317, 657, 3971, 8789, 4953, 9693, 'O', 7845, 'r', 'w', 'E', 's', '687', 'N', '8213', '1751', '2567', '5673', 'y', '6821', '6863', '8847', 'z', 's', 'N', 'z', 'M', 'A', 'B', 'l']

Ex Output:

r, w, E, s, 687, N, 8213, 1751, 2567, 5673, y, 6821, 6863, 8847, z, s, N, z