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

Example Input: [4339, 'i', 7857, 315, 'W', '3573', '689', 'y', '9557', 'J', 'b', '2185', 'i', 7649, 'F', 'g', 6973], ['r', 5097, 5467, 't', 'N', 'Y', 'W', '3573', '689', 'y', '9557', 'J', 'b', '2185', 'l', 837, 643, 2055, 'J', 'I']
Example Output: W, 3573, 689, y, 9557, J, b, 2185

Example Input: ['t', 'f', 3791, 2099, '3895', '5725', '7743', '9219', 'c', '6319', '3099', '3601', 'a', '2943', '2543', '51', 'r', 'w', '2379', '5423', '5807', 'l', 'b', 'f', 'i', 2371, 'W', 'c', 'c', 'l', 5505, 'L', 'w', 'a'], ['s', 5505, 'h', 4601, 4713, 6191, 't', 9213, 'D', 1777, 'E', '3895', '5725', '7743', '9219', 'c', '6319', '3099', '3601', 'a', '2943', '2543', '51', 'r', 'w', '2379', '5423', '5807', 'l', 'v', 5275, 'C', 'Y', 3371, 7105, 411, 'f', 8409]
Example Output: 3895, 5725, 7743, 9219, c, 6319, 3099, 3601, a, 2943, 2543, 51, r, w, 2379, 5423, 5807, l

Example Input: ['Z', 'u', 'H', 'g', 2545, 'U', 2701, 6397, 1789, 7633, 3369, 'y', 2375, 8789, 'K', 'w', 1921, 'd', '1107', 'u', '471', '9669', 'r', 's', 'e', '8613', '5155', '7039', '1743', 'M', '7883', 'J', '9233', 'h', 'i', 'd', 'n', 'Z', 'J', '6749', 'A', 'N', 2739, 'r', 511, 8167, 'N', 6439, 'B', 5515, 'O', 'H', 2045], ['G', 'E', 3939, 'z', 'X', 6111, 'd', 'K', 'd', '1107', 'u', '471', '9669', 'r', 's', 'e', '8613', '5155', '7039', '1743', 'M', '7883', 'J', '9233', 'h', 'i', 'd', 'n', 'Z', 'J', '6749', 'Y', 5671, 9903, 'G', 277, 'F', 'P']
Example Output:
d, 1107, u, 471, 9669, r, s, e, 8613, 5155, 7039, 1743, M, 7883, J, 9233, h, i, d, n, Z, J, 6749