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

Input: Consider Input: [9881, 2501, 7097, 3329, 1065, 'h', 'J', 1357, 'Y', 'x', 7747, 357, 3529, 6397, 'L', '539', '2309', 'a', 'B', '965', '7339', '5615', 'O', 'b', '9687', '1095', '2253', 'G', 'G', '5381', 'e', '7179', '3215', 'z', '7589', 'V', '6001', '2451', '6691', '2189', 'd', 'o', 'Y', 363, 7935, 'M', 'o', 'k', 'w', 9975, 405, 'a'], ['E', 'g', 2627, 1707, 2107, 8717, 'D', 'e', 'g', 'l', 'N', 'd', '539', '2309', 'a', 'B', '965', '7339', '5615', 'O', 'b', '9687', '1095', '2253', 'G', 'G', '5381', 'e', '7179', '3215', 'z', '7589', 'V', '6001', '2451', '6691', '2189', 'K', 'X', 4927, 'U', 'P', 'r', 'c', 'o', 'm', 7749]

Output: 539, 2309, a, B, 965, 7339, 5615, O, b, 9687, 1095, 2253, G, G, 5381, e, 7179, 3215, z, 7589, V, 6001, 2451, 6691, 2189


Input: Consider Input: [37, 2553, 'G', 'a', 325, 613, '4953', '1589', 'W', 'A', 'n', '5241', 'r', '1599', 'a', '6129', 'J', 'H', 'F', 'r', 'u', 'q', 7043, 'a', 'n'], [3683, 'D', 'l', 'G', 'T', 'Z', 'i', 9075, 'M', 'Y', 5963, '4953', '1589', 'W', 'A', 'n', '5241', 'r', '1599', 'a', '6129', 'J', 'H', 'F', 'r', 'u', 'C', 'Q', 'W', 2181, 'O', 'Q', 'D', 5703, 3461]

Output: 4953, 1589, W, A, n, 5241, r, 1599, a, 6129, J, H, F, r, u


Input: Consider Input: [9011, 4503, 'H', 'C', 'B', 3531, 3689, 'R', 'u', 'k', 'p', 2205, 'u', 'O', 9371, 7117, 6009, 'u', 'r', 9463, 2653, '1577', '2363', '5053', 'D', 'X', 's', '5919', '899', 'R', 'K', '5085', '1897', 'z', '803', 'W', 'h', '141', '4119', '425', '151', '3965', 'f', 'h', '1507', 'p', 'y', '2401', 'j', 3453, 'R', 1009, 643, 7179, 'b', 359, 'r', 'f', 5267, 's'], ['j', 'X', 1635, 2003, 345, 'z', 'b', 'F', 8835, 'k', 6567, 8345, '1577', '2363', '5053', 'D', 'X', 's', '5919', '899', 'R', 'K', '5085', '1897', 'z', '803', 'W', 'h', '141', '4119', '425', '151', '3965', 'f', 'h', '1507', 'p', 'y', '2401', 'c', 7143, 4901, 8927, 507, 9755, 'c', 'U', 6107, 'T']


Output: 1577, 2363, 5053, D, X, s, 5919, 899, R, K, 5085, 1897, z, 803, W, h, 141, 4119, 425, 151, 3965, f, h, 1507, p, y, 2401