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

Example Input: [4717, 'J', 'B', 'f', 'a', 9035, '3041', '491', '3395', '3117', '4793', '4305', 'c', 'F', 5099], ['Q', 3557, 'y', 2689, '3041', '491', '3395', '3117', '4793', '4305', 'c', 'k', 8835, 'C', 8979]
Example Output: 3041, 491, 3395, 3117, 4793, 4305, c

Example Input: ['R', 'Q', 'Q', 'e', 'C', 'U', 'T', '7509', '8471', 'S', 407, 793], ['G', 'D', 'C', 'U', 'T', '7509', '8471', 'l', 'r', 7861, 6959, 1617]
Example Output: C, U, T, 7509, 8471

Example Input: ['r', 9377, 'j', '9149', 'F', '4341', '7967', 'w', '1937', 'p', 'h', 'C', 'F', 'z', 'o'], [9137, 7379, 'K', 959, 'H', 641, 3839, '9149', 'F', '4341', '7967', 'w', '1937', 'p', 'h', 'E', 'R', 6533, 8843, 5491]
Example Output:
9149, F, 4341, 7967, w, 1937, p, h

