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

Example Input: [455, 5425, 2307, 'J', 327, 't', 'c', 'b', 6749, 7017, 'W', 'J', '7781', 'g', '7793', '7355', 'V', '5905', '9737', '1183', 'x', '4965', 'h', '7671', 'X', 'x', 'V', '2529', 'r', '2961', '5337', '993', '8789', '6837', 'L', 4491, 'u', 't', 'v', 'P', 'n', 8189, 'C', 'G', 6899, 'L', 9701, 'c', 3957, 7607, 1245, 'M', 'I', 2799], [2217, 'B', 'G', 8865, 'Z', 5559, 'H', 1391, 6963, 'w', 'e', 'f', 9921, 'N', 2189, 'T', 'k', 'n', 6323, 6659, 'm', '7781', 'g', '7793', '7355', 'V', '5905', '9737', '1183', 'x', '4965', 'h', '7671', 'X', 'x', 'V', '2529', 'r', '2961', '5337', '993', '8789', '6837', 'a', 2811, 'K', 'J', 1933, 'X', 'G', 'p', 'X', 'n', 'g', 975, 6475, 'h', 'S']
Example Output: 7781, g, 7793, 7355, V, 5905, 9737, 1183, x, 4965, h, 7671, X, x, V, 2529, r, 2961, 5337, 993, 8789, 6837

Example Input: [6397, 'W', 'k', 'v', 'E', '1941', '2295', 'q', '1357', '2041', '5263', '7781', 'w', 'N', 1329, 5233, 'U', 2563, 'L', 8547], [1857, 'F', 'g', 8381, 165, 'o', 7009, 5455, '1941', '2295', 'q', '1357', '2041', '5263', '7781', 'w', 'X', 'g']
Example Output: 1941, 2295, q, 1357, 2041, 5263, 7781, w

Example Input: [6965, 83, 5609, 'j', 's', 'P', 'z', 5125, 'p', 'r', '8549', 'x', '3719', '9771', 'l', 'E', 'F', '5065', 'e', 'I', 'a', '4801', 'K', 9223, 3973, 'q', 5267, 4451, 8243, 6017, 'U', 131, 'U'], [785, 'h', 'O', 'v', 4003, 'H', 4863, '8549', 'x', '3719', '9771', 'l', 'E', 'F', '5065', 'e', 'I', 'a', '4801', 'g', 'B', 5093, 873, 4375]
Example Output:
8549, x, 3719, 9771, l, E, F, 5065, e, I, a, 4801