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

Example Input: [1951, 'Y', 'v', 5955, 75, 'e', 9911, 3885, 335, 'L', 7871, 'z', 'l', 1047, 7915, 'D', 5831, '3495', 'a', 'i', '2657', 'R', 'P', 'N', 'K', '3765', '9331', '7357', 't', 'p', '6279', 'p', '4009', 'T', 'm', 'R', 'z', '1461', '31', '8689', '8807', '7225', '6421', 'r', '2115', 'k', 6911, 6063, 4091, 'z', 2951, 'v', 'n', 'a', 'N', 2063, 'o', 'V', 149, 'k', 6117, 7805], ['G', 8737, 1265, 'B', 'Y', 'f', 2407, 2383, 3405, 'u', 'M', 'g', 3985, 9783, 'V', 1525, '3495', 'a', 'i', '2657', 'R', 'P', 'N', 'K', '3765', '9331', '7357', 't', 'p', '6279', 'p', '4009', 'T', 'm', 'R', 'z', '1461', '31', '8689', '8807', '7225', '6421', 'r', '2115', 'E', 'c', 2823, 2777, 'S', 'f', 't', 's', 'N', 'P', 5597, 'R', 'W', 699, 'f', 'p', 7843, 'y', 3875, 7057, 'u', 'E', 'D']
Example Output: 3495, a, i, 2657, R, P, N, K, 3765, 9331, 7357, t, p, 6279, p, 4009, T, m, R, z, 1461, 31, 8689, 8807, 7225, 6421, r, 2115

Example Input: ['q', 'o', 4457, 'n', 5225, 3633, 8939, 8239, 8309, 8551, 'g', 'i', 231, 9961, 7455, 3895, 7053, 'z', 9989, 'j', 'M', 'X', 'H', 'o', '8723', 'c', 'v', '3103', 'a', 'F', 'v', '2307', 'w', 'Q', 'J', '695', 'e', 'y', '4567', '9385', 'h', 'c', '5405', '7473', '7479', '4335', '1059', 'e', 'N', 8357, 'f', 8957, 8107, 'H', 'a', 6831, 'E', 'K', 5359, 'U'], [8035, 'a', 'y', 'o', 6869, 4247, 817, 8471, 9273, 'c', 7983, 'v', 1305, 'n', 6951, 4505, 83, 3005, 5965, 'p', 'H', 'o', '8723', 'c', 'v', '3103', 'a', 'F', 'v', '2307', 'w', 'Q', 'J', '695', 'e', 'y', '4567', '9385', 'h', 'c', '5405', '7473', '7479', '4335', '1059', 'L', 53, 6103, 6769, 'j', 'M', 5003, 5689, 'k', 7347, 6505, 4659, 'd', 'p', 7555, 2393, 2835, 'z']
Example Output: H, o, 8723, c, v, 3103, a, F, v, 2307, w, Q, J, 695, e, y, 4567, 9385, h, c, 5405, 7473, 7479, 4335, 1059

Example Input: ['T', 3589, 3751, '1207', 'p', '503', 'x', 'o', '5377', 'j', '155', 'p', 'z', 6289, 't'], [6541, 'l', 9073, 8867, '1207', 'p', '503', 'x', 'o', '5377', 'j', '155', 'k', 4791]
Example Output:
1207, p, 503, x, o, 5377, j, 155