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

Input: Consider Input: ['R', 'k', 'g', 4045, 'W', '4923', '9161', '4031', '7443', 'f', 'U', 2683, 'Y'], [943, 'v', '4923', '9161', '4031', '7443', 'f', 't', 'm', 9213]

Output: 4923, 9161, 4031, 7443, f


Input: Consider 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]

Output: G, 6211, 5597, 9283, 3429, T, K, 4887, 4679, 5705, u, p, c, 6329, 6259, t, p, I, E, S, 3507


Input: Consider Input: ['z', 'O', 8199, 'E', 6967, 'c', 'q', 'l', 'W', 'v', 7757, 7075, 757, '9863', 'M', 'h', 'H', 'u', 'D', 'n', 'H', '105', 'P', 'D', '9853', 'V', 'D', '5263', '671', 'b', 'u', 'Y', 'u', 6297, 'p', 2543, 1287, 'T', 'a', 9077, 6131, 'T'], ['o', 3873, 5435, 2295, 2321, 'X', 'E', 8443, 'I', 4529, 'L', 4443, 'F', 'p', 'z', 'y', 4021, '9863', 'M', 'h', 'H', 'u', 'D', 'n', 'H', '105', 'P', 'D', '9853', 'V', 'D', '5263', '671', 'b', 'u', 'l', 747, 'K', 'k', 'C', 'Z', 'y', 2931, 1281, 'A', 3175, 393, 'a']


Output: 9863, M, h, H, u, D, n, H, 105, P, D, 9853, V, D, 5263, 671, b, u