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

Example Input: [2585, 'R', 'a', 9005, 829, 1751, 'I', 'G', '6211', '5597', '9283', '3429', 'T', 'K', '4887', '4679', '5705', 'u', 'p', 'c', '6329', '6259', 't', 'p', 'I', 'E', 'S', '3507', 'Q', 'K', 1021, 635, 'L', 'r', 'D', 6997, 4363, 'm', 2661, 7933, 'v'], [2855, 'Q', 7207, 'F', 9581, 9807, 3127, 6695, 4363, 'V', 'd', 2791, 't', 4507, 1047, 5959, 2697, 6393, 1751, 5521, 'S', 'G', '6211', '5597', '9283', '3429', 'T', 'K', '4887', '4679', '5705', 'u', 'p', 'c', '6329', '6259', 't', 'p', 'I', 'E', 'S', '3507', 'C', 437, 'c', 63, 469, 'R', 'I', 10007, 'B', 'S', 4919, 'V', 7431, 9317, 9909, 421, 'J', 't', 'O', 'r', 3653]
Example Output: G, 6211, 5597, 9283, 3429, T, K, 4887, 4679, 5705, u, p, c, 6329, 6259, t, p, I, E, S, 3507

Example Input: ['h', 'l', 2659, 5135, 4075, 'B', 'Z', 7075, '8385', 'I', '5937', 'N', 'H', '7143', '9643', '7171', 'z', 'c', 'A', '2163', 'm', 5383, 'S', 8583, 3589, 'S'], [5819, 317, 1243, 6949, 3195, 'A', 'p', 'F', 'Z', 4825, 'U', '8385', 'I', '5937', 'N', 'H', '7143', '9643', '7171', 'z', 'c', 'A', '2163', 'Y', 'r', 7985, 'T', 'F', 3637, 'D', 2203, 6855, 'W', 'Z', 4121]
Example Output: 8385, I, 5937, N, H, 7143, 9643, 7171, z, c, A, 2163

Example Input: ['s', 's', 'r', 'h', 3057, 'Y', '5261', 'S', 'k', 'h', 'a', 'r', 'u', 'i', 'w', '579', '5179', '9513', '219', 'T', '9339', 'E', 'N', '1557', 'g', '5289', 't', '1143', '4227', '217', 'B', '2933', '365', '2197', 'y', 9323, 'T', 'O', 4129, 'e', 3255, 2357, 2823, 'V', 'o'], ['z', 'F', 3441, 5005, 9861, 'K', 'I', 2945, 3283, 8287, 'y', 'B', 'g', '5261', 'S', 'k', 'h', 'a', 'r', 'u', 'i', 'w', '579', '5179', '9513', '219', 'T', '9339', 'E', 'N', '1557', 'g', '5289', 't', '1143', '4227', '217', 'B', '2933', '365', '2197', 'x', 6291, 'n', 'q', 7145, 7537, 9295, 'Z', 'k', 2383, 2783, 4573, 'N', 1259, 2763, 'j', 5677, 87, 3235, 't', 9921, 'p', 'M', 'M', 6261, 3037, 1021, 5129]
Example Output:
5261, S, k, h, a, r, u, i, w, 579, 5179, 9513, 219, T, 9339, E, N, 1557, g, 5289, t, 1143, 4227, 217, B, 2933, 365, 2197