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

Input: Consider Input: ['d', 8577, 821, 4925, 851, 1015, '9071', 'l', '7883', 'b', '3341', '2315', 'E', 'T', 'm', '2545', 'y', 'Y', '2633', 'f', 'q', '3705', '2923', 'z', 'N', 'S', 'T', 'c', 'J', 'P', '9483', 'y', '8367', 'm', 'm', 'Y', 5707, 641, 'R', 's', 6601, 6037, 8129, 207, 'T', 3349, 549, 'd', 6875, 'i', 'M', 'U', 9157, 'W', 781, 'o', 4519, 'T', 'j'], ['i', 'm', 'y', 1645, 'O', 'g', '9071', 'l', '7883', 'b', '3341', '2315', 'E', 'T', 'm', '2545', 'y', 'Y', '2633', 'f', 'q', '3705', '2923', 'z', 'N', 'S', 'T', 'c', 'J', 'P', '9483', 'y', '8367', 'm', 'm', 'a', 4119, 1339, 'J']

Output: 9071, l, 7883, b, 3341, 2315, E, T, m, 2545, y, Y, 2633, f, q, 3705, 2923, z, N, S, T, c, J, P, 9483, y, 8367, m, m


Input: Consider Input: [7247, 1163, 3573, 'Q', 'j', 'W', 'Z', '9033', '57', 'W', '5259', 'Z', '3169', 't', '5065', '8825', 's', '4051', '8469', '401', 'U', '4069', 'E', 'V', '8889', 'S', 'D', 't', '7323', 'c', '2987', 'J', 'D', '3061', 'M', 9599, 'n', 'V'], ['m', 5641, 4917, 'p', 'L', 4811, 'W', 9443, 2931, 6127, 't', 'H', 'O', 'V', 'S', 'A', 1447, 'Y', 'O', 6005, 9461, 'l', '9033', '57', 'W', '5259', 'Z', '3169', 't', '5065', '8825', 's', '4051', '8469', '401', 'U', '4069', 'E', 'V', '8889', 'S', 'D', 't', '7323', 'c', '2987', 'J', 'D', '3061', 'o', 'X', 'E', 'O', 7153, 'c', 'q', 'a', 3629, 'k']

Output: 9033, 57, W, 5259, Z, 3169, t, 5065, 8825, s, 4051, 8469, 401, U, 4069, E, V, 8889, S, D, t, 7323, c, 2987, J, D, 3061


Input: Consider Input: [9417, 7799, 493, 'X', 'U', 'V', 7303, 'T', 8169, 6271, 7857, 'N', 'w', 'w', 2227, 9487, '7955', '8893', 'k', 'Q', '139', 'l', 'W', 'q', '313', 'o', 'Y', '2901', 'N', '6457', 'A', '2473', 'J', 'B', 'f', 933, 'Q', 1687, 'o', 'U', 1771, 375, 6439, 'J', 'Z'], [3833, 8089, 'e', 't', 'n', 9877, 'q', 2551, 3235, 9527, 1027, '7955', '8893', 'k', 'Q', '139', 'l', 'W', 'q', '313', 'o', 'Y', '2901', 'N', '6457', 'A', '2473', 'J', 'B', 'E', 'b']


Output: 7955, 8893, k, Q, 139, l, W, q, 313, o, Y, 2901, N, 6457, A, 2473, J, B