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

Example Input: [901, 'l', '4509', '5969', '517', 'T', 'G', '3221', 'E', 'f', 'c', '7993', 'R', 'I', 'g', 'R', 'r', 1103, 9941, 'A', 'b'], [9075, 'z', 'w', '4509', '5969', '517', 'T', 'G', '3221', 'E', 'f', 'c', '7993', 'R', 'I', 'G', 245, 865, 'x', 2117, 'G', 'w', 'Q', 6337, 'I', 'B']
Example Output: 4509, 5969, 517, T, G, 3221, E, f, c, 7993, R, I

Example Input: ['n', 'E', '2891', '7537', 'Q', 'J'], [2247, 10017, '2891', '7537', 'e', 1001]
Example Output: 2891, 7537

Example Input: ['C', 'i', 'P', 7831, 3397, 'X', 7543, 'P', 'M', 'W', 'D', 'I', 'l', '9167', 'U', 'h', '1065', 'V', '9307', '1589', '5069', '1817', 'S', '975', '1559', '4979', '1581', '1409', 'G', 2861, 4505, 'o', 'v', 'x', 1067, 'S', 9703, 4841, 6643, 9989, 169, 9401], [1125, 6613, 'q', 'Y', 'S', 4337, 3687, 3783, 'h', 4531, 1165, 'l', '9167', 'U', 'h', '1065', 'V', '9307', '1589', '5069', '1817', 'S', '975', '1559', '4979', '1581', '1409', 'B', 'g', 9635, 't', 'Q', 85, 1725, 'h', 7997, 2363, 5289, 'X', 'J', 7053, 'a']
Example Output:
l, 9167, U, h, 1065, V, 9307, 1589, 5069, 1817, S, 975, 1559, 4979, 1581, 1409