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

Input: Consider Input: [127, 'J', 'v', 6999, 'g', 'G', 1965, 'E', 8699, 7579, 9265, 6993, 'B', 'R', 'I', '8517', 'V', 'W', '7777', 'K', '4475', '2323', 'z', '7003', 'h', 'q', 'T', '6623', 'L', 851, 9385, 8367, 'J'], [1577, 'y', 121, 6195, 'B', 'R', 'I', '8517', 'V', 'W', '7777', 'K', '4475', '2323', 'z', '7003', 'h', 'q', 'T', '6623', 'T', 'M', 'l', 'D', 'z', 9687, 1645, 'W', 1249, 5527, 297]

Output: B, R, I, 8517, V, W, 7777, K, 4475, 2323, z, 7003, h, q, T, 6623


Input: Consider Input: ['R', 437, 'S', 'N', 'H', '3615', 'w', 'j', 'N', '6991', '7577', 'O', 'z', 'k', 'F', 'T', '3585', '5505', '5485', 'f', 'B', 3579, 'v', 8529, 'i'], ['w', 'j', 'X', 'G', 'I', 4567, 'H', 'w', 8869, 4535, 'L', 'q', 'u', 'V', 'L', '3615', 'w', 'j', 'N', '6991', '7577', 'O', 'z', 'k', 'F', 'T', '3585', '5505', '5485', 'f', 'R', 155]

Output: 3615, w, j, N, 6991, 7577, O, z, k, F, T, 3585, 5505, 5485, f


Input: Consider Input: ['P', 5513, 2431, 7249, 'u', '599', 'f', '7915', '9165', '897', '6441', 'w', 'W', '1781', 'X', 'e', 'a', 'O'], [187, 'S', 'a', 9595, 8687, 'o', 5575, 'M', 'u', '599', 'f', '7915', '9165', '897', '6441', 'w', 'W', '1781', 'X', 'B', 'b']


Output: u, 599, f, 7915, 9165, 897, 6441, w, W, 1781, X