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

Example Input: ['x', 'T', 'K', 'i', 935, 's', 209, 6485, 7803, 'Z', 'Q', 'H', 'u', '5629', '7573', '4679', '73', '6729', '1943', 'Y', 'b', '1595', 'R', '1475', '9785', '3773', '4077', '2189', 'r', 'd', '9613', 'L', 'S', '6619', '9039', '7557', '999', 'F', 'N', 'p', 9815, 'Q', 'u', 'U', 1559, 'Y', 'z', 'i', 3473, 's', 7251, 5303, 'k', 'u'], [9843, 'H', 3903, 6499, 'y', 'u', 'v', 'i', 'p', 8877, 27, 'Z', 6151, 5793, 'F', 'u', 'K', 'f', 'F', 8005, 'r', 4323, 2093, '5629', '7573', '4679', '73', '6729', '1943', 'Y', 'b', '1595', 'R', '1475', '9785', '3773', '4077', '2189', 'r', 'd', '9613', 'L', 'S', '6619', '9039', '7557', '999', 'F', 'O', 'u', 'J']
Example Output: 5629, 7573, 4679, 73, 6729, 1943, Y, b, 1595, R, 1475, 9785, 3773, 4077, 2189, r, d, 9613, L, S, 6619, 9039, 7557, 999, F

Example Input: [1925, 1033, 'n', 1719, 1863, 9415, 'D', 8649, 's', 1653, 'V', 4263, 7099, 1825, 4487, 'G', 6067, 1553, 2517, '7743', '3161', 'X', '5815', '8019', '7445', 'H', 'g', '3451', '7313', 'j', 'v', '8927', '1115', 'b', 't', '1253', '8603', 'p', 'p', 'c', 'i', '8035', 'Z', 'Z', '3931', '4321', 'q', '2639', 'S', 'z', 8647, 9547, 'W', 7287, 7347, 'N', 'n', 'T', 5997, 4799, 'V', 'H', 4561, 'B', 2887, 9375, 3029, 'Y', 'x', 'J'], [6377, 'o', '7743', '3161', 'X', '5815', '8019', '7445', 'H', 'g', '3451', '7313', 'j', 'v', '8927', '1115', 'b', 't', '1253', '8603', 'p', 'p', 'c', 'i', '8035', 'Z', 'Z', '3931', '4321', 'q', '2639', 'S', 't', 'c', 7365, 3141, 5971, 6183, 'H', 3775, 'o', 2757, 9621, 'g', 'g', 1713, 'M', 9787, 5173, 9745, 'J', 'N', 8953, 'K', 1443, 'w', 8793, 9963, 6383, 3985, 9087]
Example Output: 7743, 3161, X, 5815, 8019, 7445, H, g, 3451, 7313, j, v, 8927, 1115, b, t, 1253, 8603, p, p, c, i, 8035, Z, Z, 3931, 4321, q, 2639, S

Example Input: [5661, 4827, 'L', 'P', 'W', 3525, 'q', 'r', 'v', 55, 'Y', 5851, 'r', 8455, 'Z', 7013, 1641, 'H', 'U', 'I', 1291, 941, 's', '8529', '7867', 'l', 'K', '5195', 'Y', 'f', '4357', 'c', '4995', 'X', '355', '2989', '5295', 'r', '1047', 'B', '8497', 'j', 'A', '4351', 'B', 'g', 'z', 'u', 'w', '9737', 'g', 'K', 7189, 5163, 'J', 5403, 'O', 'S', 9147, 9845, 1453, 'y', 'z', 3513, 'u', 5155, 'h', 2801, 'c'], [5315, 'y', 'U', 4083, 'v', 'w', 7395, 'h', 'h', 7407, 'V', 's', 6665, 'k', 8903, '8529', '7867', 'l', 'K', '5195', 'Y', 'f', '4357', 'c', '4995', 'X', '355', '2989', '5295', 'r', '1047', 'B', '8497', 'j', 'A', '4351', 'B', 'g', 'z', 'u', 'w', '9737', 'E', 7063, 7565, 6991, 4183, 'y', 'N', 123, 1755, 7387, 5375, 'W', 679, 'f', 'V', 9335, 1269, 5073]
Example Output:
8529, 7867, l, K, 5195, Y, f, 4357, c, 4995, X, 355, 2989, 5295, r, 1047, B, 8497, j, A, 4351, B, g, z, u, w, 9737