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

Input: Consider Input: [1231, 'a', 9367, '155', 'r', '1473', '5679', '3161', 'L', 'e', 'b', 'm', '9427', '2001', '5293', '3487', 'K', '6467', 'S', 'e', 6603, 'm', 8145, 'L', 's', 1273, 9291, 'X'], [5773, 'D', 'W', 'F', 5987, 'D', 'H', 2095, 'I', 'X', 29, '155', 'r', '1473', '5679', '3161', 'L', 'e', 'b', 'm', '9427', '2001', '5293', '3487', 'K', '6467', 'S', 'C', 'a']

Output: 155, r, 1473, 5679, 3161, L, e, b, m, 9427, 2001, 5293, 3487, K, 6467, S


Input: Consider Input: [5401, 'j', 'y', 'I', 'X', 'o', 'P', 'F', 'Z', 'N', '3703', 'V', 'b', 'I', '6417', 'c', '5287', 'K', '9693', 'r', 'Z', 'F', 2683, 8021, 'c', 8229, 1989, 'm', 'r', 'O', 393, 2007, 9669, 'g', 8273], [6117, 7069, 'N', 'b', 7691, 3999, 8865, 1449, 'J', 'H', 'n', 'S', 7143, 6141, 2137, 'I', 'X', 'o', 'P', 'F', 'Z', 'N', '3703', 'V', 'b', 'I', '6417', 'c', '5287', 'K', '9693', 'h', 4013, 9577, 3799]

Output: I, X, o, P, F, Z, N, 3703, V, b, I, 6417, c, 5287, K, 9693


Input: Consider Input: ['C', 'I', 'Q', 7865, 4375, 'm', 3197, 'Q', 7537, 'c', 'a', 4807, 6393, 'Y', 'b', 'l', 3667, '8831', 'C', 'u', '7795', 'R', 'l', 'i', 'd', '6213', '5937', '5675', '7359', '1557', '9675', '3345', '3167', 'B', '7917', 'C', '4489', 'X', '8581', 'A', 's', '1285', 'C', '105', 'e', 'p', 'Y', 7643, 7667, 'P', 'T', 'c', 'I', 1485, 9603], ['h', 'e', 7057, 'H', 'k', 6241, 8205, 7487, 'z', 'g', 'K', 'u', 8149, 8949, 2717, 'l', 'y', '8831', 'C', 'u', '7795', 'R', 'l', 'i', 'd', '6213', '5937', '5675', '7359', '1557', '9675', '3345', '3167', 'B', '7917', 'C', '4489', 'X', '8581', 'A', 's', '1285', 'C', '105', 'e', 'Z', 'l', 8593, 'v', 4213, 'P', 'Z', 'm', 'G', 3829, 'z', 3021, 'T', 'C', 's', 'q', 4717, 2007, 'U', 8077, 'n', 7517, 2739, 9233]


Output: 8831, C, u, 7795, R, l, i, d, 6213, 5937, 5675, 7359, 1557, 9675, 3345, 3167, B, 7917, C, 4489, X, 8581, A, s, 1285, C, 105, e