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: ['z', 'j', 'G', 'w', 'h', 5009, 'z', 'r', '1279', 'z', '1337', 'R', 'R', 9761, 'D', 713], ['a', 'T', 'A', 'z', 'r', '1279', 'z', '1337', 'R', 'J', 'z', 'L', 'P']
Example Output: z, r, 1279, z, 1337, R

Example Input: [3509, 6765, 'l', 7841, 59, 'z', 7719, 'r', '9091', 'G', 'H', '511', '8819', 'v', '1851', 'U', '6103', '3311', '1413', 'W', 'G', 3965, 6757, 5835], ['w', 'b', 'g', 1829, 'Q', 'r', '9091', 'G', 'H', '511', '8819', 'v', '1851', 'U', '6103', '3311', '1413', 'W', 'S', 6357, 4927, 'U', 'R', 5519, 'i', 2485, 'L', 5509, 'L']
Example Output:
r, 9091, G, H, 511, 8819, v, 1851, U, 6103, 3311, 1413, W