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

Input: Consider Input: [2895, 5147, 'w', 'e', 3385, 'm', 'y', 't', 'L', 1739, 8053, 7245, 6403, 8217, 'k', '9237', 'F', '4959', '3637', 'X', '1127', 'L', '9537', '3871', 'D', '3747', 'E', 'U', 'b', 'n', '7893', 'F', 'l', 'y', 4019, 9049, 'n', 'j', 6871], ['c', 'k', 'E', 'L', 6709, 's', 'M', 3861, 'M', 4297, 5731, 'a', 'V', 'k', '9237', 'F', '4959', '3637', 'X', '1127', 'L', '9537', '3871', 'D', '3747', 'E', 'U', 'b', 'n', '7893', 'F', 'w', 'd']

Output: k, 9237, F, 4959, 3637, X, 1127, L, 9537, 3871, D, 3747, E, U, b, n, 7893, F


Input: Consider Input: [6971, 'd', 'J', 'p', 'F', 5463, 'F', 'P', 1897, 'J', 'O', 'j', 'H', 'y', '3659', '9455', 'P', '9829', 'm', 'Q', 7829, 'C', 5311], ['E', 'R', 'H', 217, 'J', 'O', 'j', 'H', 'y', '3659', '9455', 'P', '9829', 'm', 'T', 5849, 1449]

Output: J, O, j, H, y, 3659, 9455, P, 9829, m


Input: Consider Input: [8209, 'N', 'L', 'L', '6997', 'i', '8155', 'f', 'i'], ['E', 'Q', 2901, 6165, 'L', 'L', '6997', 'i', '8155', 'v', 3773, 9633]


Output: L, L, 6997, i, 8155