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

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: [365, 6285, 6519, 'Y', 9505, 25, '1855', 'C', 'U', 'k', 'i', 'm', 'e', 'I', 'S', 'X', 'm', 'm', 'J', 'F', '2055', 'I', 'T', '373', 'E', '521', '9519', 'v', '9097', '8995', '5935', 'd', 'K', 'q', 4541, 'f', 7421, 'P', 9167, 1141, 1391, 4937, 'L', 5615, 9795, 'o', 'k', 'p', 'a', 1821, 6191, 'V', 4729, 'n', 'y'], [7711, 7519, 'c', 8955, 6119, '1855', 'C', 'U', 'k', 'i', 'm', 'e', 'I', 'S', 'X', 'm', 'm', 'J', 'F', '2055', 'I', 'T', '373', 'E', '521', '9519', 'v', '9097', '8995', '5935', 'd', 'K', 'U', 9155, 'e', 4505, 4567, 'o', 7503, 'M', 8255, 'J', 9333, 'i']

Output: 1855, C, U, k, i, m, e, I, S, X, m, m, J, F, 2055, I, T, 373, E, 521, 9519, v, 9097, 8995, 5935, d, K


Input: Consider Input: [6249, 'G', 'Q', 9313, 'j', 'L', 'd', 'G', 'x', 5631, 'A', 'y', 'S', 7247, 443, '3323', '609', 'B', 'B', '9955', '1319', '1271', '635', 'C', 'F', 'a', '6027', '449', 'M', '7827', 'z', '7387', '1879', '8455', 'e', 'U', '2929', 'z', 'd', 'U', 'S', 'U', '6523', '87', '3849', 'G', 1171, 'j', 7931], ['P', 'l', 8473, 2357, 6281, 7339, 1749, 8975, 4291, 'E', 4091, 't', 8687, 'V', 1065, 3089, 2745, 'C', 'b', 'T', 5165, 'Z', '3323', '609', 'B', 'B', '9955', '1319', '1271', '635', 'C', 'F', 'a', '6027', '449', 'M', '7827', 'z', '7387', '1879', '8455', 'e', 'U', '2929', 'z', 'd', 'U', 'S', 'U', '6523', '87', '3849', 'x', 'Y', 5261, 1167, 'H', 'X', 'K', 'R', 'o', 'k', 't', 8125, 'z', 'A', 's', 'i', 'n', 'k']


Output: 3323, 609, B, B, 9955, 1319, 1271, 635, C, F, a, 6027, 449, M, 7827, z, 7387, 1879, 8455, e, U, 2929, z, d, U, S, U, 6523, 87, 3849