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

Ex Input:
['o', 'R', 'l', 'y', 8351, 3995, 8667, 'X', 'r', 7749, 's', 9049, 'X', 10021, 'L', '295', 'M', '6251', 'k', '925', '9911', '6105', 'o', '7871', 'T', 'h', '7613', '2341', '4205', 'L', 'j', 'F', 4501, 'N', 'g', 'k', 1891, 8829, 'h', 4055], [3261, 'x', 5565, 'e', 773, 'j', 'h', 317, 5829, 'k', 's', 'I', 2339, 3391, 'L', 'U', 2339, 'L', '295', 'M', '6251', 'k', '925', '9911', '6105', 'o', '7871', 'T', 'h', '7613', '2341', '4205', 'L', 'j', 'g', 5447, 9137, 5965, 'F', 7181, 7811, 9655, 8301, 6751, 't', 1153, 657]

Ex Output:
L, 295, M, 6251, k, 925, 9911, 6105, o, 7871, T, h, 7613, 2341, 4205, L, j


Ex Input:
[1527, 6311, 8927, 8605, 'v', '3541', 'b', '9641', '1093', '2649', 'H', '3821', '4251', 'K', 'L', 'J', '5301', '9463', 'z', '1403', 'O', 2283, 'g', 5991, 'B', 'n', 3997, 'G', 8425, 5409, 4395], ['P', 9991, 8325, 'b', 'u', 'v', '3541', 'b', '9641', '1093', '2649', 'H', '3821', '4251', 'K', 'L', 'J', '5301', '9463', 'z', '1403', 'J', 6627, 4667, 4387, 881, 8195, 'G']

Ex Output:
v, 3541, b, 9641, 1093, 2649, H, 3821, 4251, K, L, J, 5301, 9463, z, 1403


Ex Input:
[273, 'i', 4051, 9063, 'D', 'E', 5087, 'M', '9959', '6273', 'p', 'L', 'B', 'H', '7889', '9933', 'p', '519', '339', 'h', 'u', 5559, 1733, 9555], ['i', 5977, 'r', 'b', 589, '9959', '6273', 'p', 'L', 'B', 'H', '7889', '9933', 'p', '519', '339', 'n', 'y', 'q']

Ex Output:

9959, 6273, p, L, B, H, 7889, 9933, p, 519, 339