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

Input: Consider Input: [2227, 8603, '9943', 'E', '4351', 't', 'l', 'x'], [5983, 'q', '9943', 'E', '4351', 'V', 4367]

Output: 9943, E, 4351


Input: Consider Input: [6987, 'F', 'j', 'E', 'P', 947, 823, 'P', 4655, 'C', 'l', 'R', 'z', 5705, 'I', 'H', 'y', 2167, 7443, 'E', 'F', 'd', '567', '1385', 'd', '1013', 'Q', '3983', '5891', '6397', '1701', 'd', 'v', 'N', '4551', '9415', '5691', 'n', '3435', '1485', 'u', 'Q', '3191', 'D', 'y', 665, 'P', 'k'], [4453, 'F', 'b', 1309, 'm', 'H', 'd', '567', '1385', 'd', '1013', 'Q', '3983', '5891', '6397', '1701', 'd', 'v', 'N', '4551', '9415', '5691', 'n', '3435', '1485', 'u', 'Q', '3191', 'p', 'f', 7091]

Output: d, 567, 1385, d, 1013, Q, 3983, 5891, 6397, 1701, d, v, N, 4551, 9415, 5691, n, 3435, 1485, u, Q, 3191


Input: Consider Input: [8881, 4821, 'b', 'Y', 'L', 'R', 271, 8115, 'S', 4095, '5561', 'q', 'x', '9643', 'T', '8939', '6595', 'u', 's', '1131', 'r', 'p', 'a', 'B', 'L', '7283', 'm', 'd', 'm', 'N', '5043', 'r', 'X', 'l', 4055, 'M', 1431, 'W', 'w'], ['C', 2807, 8337, 8477, 2735, 'r', 'y', '5561', 'q', 'x', '9643', 'T', '8939', '6595', 'u', 's', '1131', 'r', 'p', 'a', 'B', 'L', '7283', 'm', 'd', 'm', 'N', '5043', 'r', 'D', 8847, 'O', 6383, 'E', 'O']


Output: 5561, q, x, 9643, T, 8939, 6595, u, s, 1131, r, p, a, B, L, 7283, m, d, m, N, 5043, r