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

Ex Input:
['d', 897, 't', 1807, 'k', 'P', '5013', '1811', '9411', 'U', 'z', '2793', '3221', '5643', 'j', '1793', '9507', 'J', '6147', 'i', '4383', '723', 'z', 'c'], [2741, 'D', 5443, 'Z', 'k', 129, 3339, 'k', 'T', 'P', '5013', '1811', '9411', 'U', 'z', '2793', '3221', '5643', 'j', '1793', '9507', 'J', '6147', 'i', '4383', '723', 'd', 4353]

Ex Output:
P, 5013, 1811, 9411, U, z, 2793, 3221, 5643, j, 1793, 9507, J, 6147, i, 4383, 723


Ex Input:
['h', 'L', 2481, 8463, 1309, '7587', '521', 'a', '1617', '5245', '5629', '9977', 'o', 'I', 4133, 't', 'i'], ['P', 5497, '7587', '521', 'a', '1617', '5245', '5629', '9977', 'I', 2251, 'p', 's', 'n', 'k', 8259]

Ex Output:
7587, 521, a, 1617, 5245, 5629, 9977


Ex Input:
[3495, 7677, 'Q', 'V', 'e', 2459, 7331, 7867, 't', 7397, 'Q', 'G', 'O', 'E', 6289, 'E', 8091, '1037', 'h', '9515', '1347', '7', '8433', '9209', 'g', 'q', '3015', 'C', 'a', '5739', '4849', 'T', 'b', 'q', 'S', 'T', '3005', '5939', 'H', '2971', 'P', 'Z', 'W', 7085, 4505, 'L', 81], ['Z', 'G', 551, '1037', 'h', '9515', '1347', '7', '8433', '9209', 'g', 'q', '3015', 'C', 'a', '5739', '4849', 'T', 'b', 'q', 'S', 'T', '3005', '5939', 'H', '2971', 'P', 'Z', 'L', 2529, 2123, 4677, 3159, 7183, 7271, 6767]

Ex Output:

1037, h, 9515, 1347, 7, 8433, 9209, g, q, 3015, C, a, 5739, 4849, T, b, q, S, T, 3005, 5939, H, 2971, P, Z