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

Input: Consider Input: [1699, 5363, 'U', 3351, 'K', 1771, 8981, 'y', 4317, 'P', 'H', 'f', 'j', '7169', '129', 'Z', 'K', 'r', 'o', 'v', '1713', 'g', 'A', 'h', 'e', '421', 'a', 'b'], [1477, 'o', 'h', 4413, 'Y', 'V', 4539, 't', 'S', 3527, 9183, 9541, '7169', '129', 'Z', 'K', 'r', 'o', 'v', '1713', 'g', 'A', 'h', 'e', '421', 'j', 'V', 8579, 3395, 'l', 'X', 'l', 'm', 4239]

Output: 7169, 129, Z, K, r, o, v, 1713, g, A, h, e, 421


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: ['w', 4579, 'D', 'S', 'U', 3133, 'l', '8433', '9589', '4521', 'Q', '7747', '9815', '1555', 'j', 'L', 'f', 5541, 'Y', 't', 9875], [5045, 5033, 'O', 3029, 'B', 'I', 3747, '8433', '9589', '4521', 'Q', '7747', '9815', '1555', 'j', 'L', 'Z', 'l', 2659, 1215, 5449, 6221, 5921]


Output: 8433, 9589, 4521, Q, 7747, 9815, 1555, j, L