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

Input: Consider Input: ['z', 'F', 'H', 'E', 1495, 'u', 't', 'm', 'o', '1165', 'b', 75, 'B'], ['n', 'H', 'M', 'j', 3999, 'u', 't', 'm', 'o', '1165', 'r', 'x', 'W']

Output: u, t, m, o, 1165


Input: Consider Input: [3287, 6115, 5707, 'Y', 'a', 'w', 'K', 4691, 471, 6405, '655', 'U', '289', 'o', '3129', 'R', '9269', 'p', '9361', 'i', 'B', '7357', '9831', '2559', 'P', 'R', 'j', 'f', 'a', '3327', 'a', 'F', 'H', 'h', '8175', '4827', 'y', 6833, 8347, 'D', 2539, 'K', 2775, 2519, 'd', 'h', 'u', 'K', 1525], ['A', 'z', 8243, 'r', 's', 'C', 6111, 'o', 1311, 1511, 'I', 'i', 'J', 3413, '655', 'U', '289', 'o', '3129', 'R', '9269', 'p', '9361', 'i', 'B', '7357', '9831', '2559', 'P', 'R', 'j', 'f', 'a', '3327', 'a', 'F', 'H', 'h', '8175', '4827', 'u', 'k', 'R', 'P', 8947, 'X', 'H', 'G', 5701, 't', 1919, 819, 'j', 'G', 8379, 2409, 5285, 183, 8199, 'T', 'S', 'J']

Output: 655, U, 289, o, 3129, R, 9269, p, 9361, i, B, 7357, 9831, 2559, P, R, j, f, a, 3327, a, F, H, h, 8175, 4827


Input: Consider Input: ['x', 'j', 'Y', 6449, 6661, 'N', '4799', 'e', 'v', 'j', 'Q', '5909', '7843', 'H', '6617', '6733', '2243', 'Y', 'p', '993', '8415', '37', 'f', 'F', '791', 'v', 'g', '7991', '1979', 'M', '8305', '8661', 'Y', 'x', 9533, 'C', 1877], ['B', 9831, 5291, 'I', 'A', 'k', 4307, 'm', 8115, 1455, 'o', '4799', 'e', 'v', 'j', 'Q', '5909', '7843', 'H', '6617', '6733', '2243', 'Y', 'p', '993', '8415', '37', 'f', 'F', '791', 'v', 'g', '7991', '1979', 'M', '8305', '8661', 'Y', 'b', 7787, 7779]


Output: 4799, e, v, j, Q, 5909, 7843, H, 6617, 6733, 2243, Y, p, 993, 8415, 37, f, F, 791, v, g, 7991, 1979, M, 8305, 8661, Y