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

Example Input: ['y', 'b', 'A', 'K', 887, '9169', '1575', '5233', '1749', '5739', 'A', 'V', 8989], [3381, 5213, 9463, 8631, 2091, '9169', '1575', '5233', '1749', '5739', 'h', 1679, 8181]
Example Output: 9169, 1575, 5233, 1749, 5739

Example Input: [8521, 7389, 'Z', 959, 4009, 4683, 'y', '4295', '5675', 'a', '5585', 'q', '5785', '9081', 'U', 's', 'i', 'D', 2717, 'P', 3531, 8889], ['Y', 4689, 'H', 'h', 3485, 1659, '4295', '5675', 'a', '5585', 'q', '5785', '9081', 'U', 's', 'm', 'k', 3777, 'l', 4497, 5837, 7061]
Example Output: 4295, 5675, a, 5585, q, 5785, 9081, U, s

Example Input: ['x', 'B', 'l', 'f', 3855, 'y', 'a', 5701, 'n', 'T', 'r', 'N', 'f', 3753, 4841, 1763, 877, 'E', 'u', '1063', 'w', '4089', '4873', 'O', 'a', 'T', 'F', '263', 'V', '4579', '8703', 'T', 'K', '4429', '2153', '2363', '2099', 'j', '7841', 'W', 'q', '9351', 'e', 'U', 'E', 5567, 'u', 'l', 7071, 'w', 'u', 's', 'Z', 4337, 'o', 8395, 7889, 'x', 825, 'l', 'G', 'J', 'Z', 'D'], ['M', 8963, 'q', 'g', 'g', 6923, 5427, 5687, 'R', 4945, 'u', '1063', 'w', '4089', '4873', 'O', 'a', 'T', 'F', '263', 'V', '4579', '8703', 'T', 'K', '4429', '2153', '2363', '2099', 'j', '7841', 'W', 'q', '9351', 'q', 3833, 691, 1643, 'v']
Example Output:
u, 1063, w, 4089, 4873, O, a, T, F, 263, V, 4579, 8703, T, K, 4429, 2153, 2363, 2099, j, 7841, W, q, 9351