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

Example Input: ['G', 5429, 'G', 'h', 'i', 4385, 'l', 'w', '4889', 'j', 'i', 'P', '1977', '9281', 'N', 's', 'y', '3049', 'E', 'w', 'l', 6255, 9841, 7339], [5463, 'Y', 1105, 'Z', 6887, 'G', 9653, 'v', 6241, 1865, '4889', 'j', 'i', 'P', '1977', '9281', 'N', 's', 'y', '3049', 'E', 'w', 't', 7945, 'T', 'l', 6697, 'k', 'J', 57]
Example Output: 4889, j, i, P, 1977, 9281, N, s, y, 3049, E, w

Example Input: [6129, 5205, 127, 9057, 6969, 'A', 5777, 2053, 2141, 7555, 'n', 5593, 4695, 2315, 913, 'b', 3471, 2447, 6689, 'B', '1717', 'S', '9761', '4155', '5049', '879', 'n', '7459', '8765', 'p', '5109', '3135', 'F', '4463', '103', '7581', '7305', 'Q', 'V', 'f', '4413', 'E', 'L', '7993', 'Q', 'E', '9719', '6599', 'u', '2895', 'j', 3893, 855, 'M', 831, 'q', 'V', 'h', 'l', 5363, 'H'], [8061, 5223, 'A', 4297, 'e', 4831, 'w', 'a', 8171, 7891, 'F', 8403, 'F', 5379, 4651, 'M', 1727, 'b', 5653, '1717', 'S', '9761', '4155', '5049', '879', 'n', '7459', '8765', 'p', '5109', '3135', 'F', '4463', '103', '7581', '7305', 'Q', 'V', 'f', '4413', 'E', 'L', '7993', 'Q', 'E', '9719', '6599', 'u', '2895', 'Q', 'E', 2833, 9505, 'C', 6339, 'E', 1589, 5851, 'K', 'r', 4829, 'O', 373, 'K', 8289, 3825, 'i', 'p', 7325, 3637, 6649, 'p', 6411, 2201, 'S', 'Q', 9247, 't']
Example Output: 1717, S, 9761, 4155, 5049, 879, n, 7459, 8765, p, 5109, 3135, F, 4463, 103, 7581, 7305, Q, V, f, 4413, E, L, 7993, Q, E, 9719, 6599, u, 2895

Example Input: [3871, 'a', 'z', 'X', 2283, 'c', 5157, 'd', 'l', 'K', 'U', 5009, '2075', 'B', 'P', '5937', '6035', 'N', 'j', 'A', 'r', '627', '5527', 'm', 'e', 'D', '4349', 'I', 'o', '141', '5931', 'm', '1065', 'B', '337', 'l', '5675', 'E', 'Q', 'B', 'j', 'Y', 8125, 'e', 4135, 'p', 'U', 835, 'K', 7325, 1351, 'f', 7003, 1623, 'n', 3759, 9587, 5873, 'c', 'n', 'E', 1489, 8355, 7329, 3163, 3267], ['o', 2547, 9553, 'p', 4331, 'A', 5379, 7891, 'g', 'k', 'w', 7623, 'c', '2075', 'B', 'P', '5937', '6035', 'N', 'j', 'A', 'r', '627', '5527', 'm', 'e', 'D', '4349', 'I', 'o', '141', '5931', 'm', '1065', 'B', '337', 'l', '5675', 'E', 'Q', 'B', 'j', 'p', 7969, 'O', 5607, 1575, 'l', 'x', 'o', 'q', 'A', 6315, 'j', 'Q', 5099, 47, 'U', 7163, 7779, 9459, 6291, 'k', 'y', 2463]
Example Output:
2075, B, P, 5937, 6035, N, j, A, r, 627, 5527, m, e, D, 4349, I, o, 141, 5931, m, 1065, B, 337, l, 5675, E, Q, B, j