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

Example Input: [4665, 'U', 1617, 4891, 3015, 'k', '9381', '4077', 'f', 'T', 'G', 'z', '9879', 'q', 'f', 'g', 'G', '8765', 'D', '1755', 'B', 'H', 'y', 6819, 9689, 4667, 6651, 'Z', 4359, 3239, 'k'], [4575, 7833, 7267, 't', 'C', 'k', '9381', '4077', 'f', 'T', 'G', 'z', '9879', 'q', 'f', 'g', 'G', '8765', 'D', '1755', 'v', 4883, 'l', 3055]
Example Output: k, 9381, 4077, f, T, G, z, 9879, q, f, g, G, 8765, D, 1755

Example Input: ['Y', 'Z', 'm', 'S', '3631', 'v', 'x', 5851, 615, 'm'], ['D', 'D', 'm', 'S', '3631', 'v', 'O', 'D']
Example Output: m, S, 3631, v

Example Input: ['P', 'w', 2685, 'd', 'x', 'V', 7089, 5261, 9501, 'V', 3679, 7933, 'U', 'p', 'q', 3725, 's', 3477, 4919, 8875, 4357, 1919, 6915, 7221, '6819', '6943', '4645', '9411', '7601', 'p', 'l', '4893', 'g', 'j', 'H', '4929', '8221', '5779', 'G', '2605', '39', '8535', '1529', '1261', '7889', '8239', '5385', 'P', 'r', 681, 'b', 8823, 'X', 'a', 'A', 1403, 6239, 7899, 5891, 8527, 'G', 'a', 3997, 'r'], [5429, 'M', 'k', 'J', 5593, 'i', 4593, 'M', 1315, '6819', '6943', '4645', '9411', '7601', 'p', 'l', '4893', 'g', 'j', 'H', '4929', '8221', '5779', 'G', '2605', '39', '8535', '1529', '1261', '7889', '8239', '5385', 'P', 'k', 'x', 'S', 7961, 'd', 'O', 's', 8905, 77, 485, 4115, 9739, 9871, 'R', 7139, 3497, 3909, 'N', 3221]
Example Output:
6819, 6943, 4645, 9411, 7601, p, l, 4893, g, j, H, 4929, 8221, 5779, G, 2605, 39, 8535, 1529, 1261, 7889, 8239, 5385, P