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

Example Input: ['b', 'Z', 'n', 'O', 'x', 'K', 'J', '5997', '8241', 'O', '9965', 'n', '6043', 'p', '8943', 'F', 'O', '2181', 'k', 833, 9001], [6221, 'H', 'w', 6543, 'o', 1523, 'W', 6091, 'T', 7021, 8161, 1111, 4653, 'x', 'K', 'J', '5997', '8241', 'O', '9965', 'n', '6043', 'p', '8943', 'F', 'O', '2181', 'j', 5791, 3573, 9639, 'a', 4089, 5045, 'e', 'i', 'S', 3157, 1767, 2199, 'P']
Example Output: x, K, J, 5997, 8241, O, 9965, n, 6043, p, 8943, F, O, 2181

Example Input: ['k', 'l', 3761, 9679, 'Y', 'l', '1953', '7925', '8115', '5243', 'Y', '3939', '1231', 'Q', 'u', 5953, 5571, 'N'], [8981, 8379, 'h', 9701, 759, 'd', '1953', '7925', '8115', '5243', 'Y', '3939', '1231', 'l', 5705, 'P', 4009, 1189]
Example Output: 1953, 7925, 8115, 5243, Y, 3939, 1231

Example Input: ['a', 7355, 8097, 4497, 375, 5955, 'a', 7355, 'R', 'v', 'd', 5549, 'H', 'k', '9283', 'h', 'b', '7853', 'W', '3521', 'a', '3389', 'g', 'h', '8089', '8111', '2503', 'X', '9997', 'n', '9991', '6619', 's', 2079, 2987, 'P', 'l', 'A', 'k', 3589, 'h', 'u', 'n', 6541], [3525, 8373, 113, 'J', 'H', 'k', '9283', 'h', 'b', '7853', 'W', '3521', 'a', '3389', 'g', 'h', '8089', '8111', '2503', 'X', '9997', 'n', '9991', '6619', 'c', 5285, 'Z', 'b', 'u', 6711, 'b', 'P', 8349, 2621, 'n', 5227, 'h']
Example Output:
H, k, 9283, h, b, 7853, W, 3521, a, 3389, g, h, 8089, 8111, 2503, X, 9997, n, 9991, 6619