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

Example Input: ['e', 167, 4283, 'l', 247, 4197, 3397, 'Z', 'F', 2835, 4273, 'F', '4769', '6831', '5497', 'Z', 'g', 'Y', '2003', '2851', '9303', '6173', 'P', 'U', 'G', 'X', 7049, 'q'], ['z', 'p', 'L', 'A', 'o', 391, 'F', '4769', '6831', '5497', 'Z', 'g', 'Y', '2003', '2851', '9303', '6173', 'I', 8741, 3159, 't']
Example Output: F, 4769, 6831, 5497, Z, g, Y, 2003, 2851, 9303, 6173

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: [10023, 'E', 'I', 9757, 3715, 7843, 1297, 'x', '6489', '7069', '5979', '10001', 'u', '2011', 'w', '9941', 'P', '6919', 'J', '2453', '6679', '6223', '1483', 'l', 't', 3171, 'O', 'r', 'u', 'i', 3381, 6641], [7551, 8713, 1707, 3453, 7227, 'a', 'J', 8499, 'J', 6377, '6489', '7069', '5979', '10001', 'u', '2011', 'w', '9941', 'P', '6919', 'J', '2453', '6679', '6223', '1483', 'l', 'e', 'z', 'q', 'I', 4377, 1161, 'H', 9347, 3737, 5961, 4191, 5411, 6487]
Example Output:
6489, 7069, 5979, 10001, u, 2011, w, 9941, P, 6919, J, 2453, 6679, 6223, 1483, l