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

Example Input: [7849, 813, 1309, 3749, '10001', 'g', '1057', 'c', 't', 't', 'i', 2269, 'M', 'q', 373], ['d', 4077, 3209, 'g', 5643, '10001', 'g', '1057', 'c', 't', 't', 'h', 'Y', 8349, 'q', 3939, 1333]
Example Output: 10001, g, 1057, c, t, t

Example Input: [3659, 'D', 'P', 'K', '7241', 'V', 'p', 'i', '6013', 'X', 'C', '8145', 'Y', '2517', 'z', 'y', 6631, 2281, 6607], [3101, 7057, 'N', 7065, 'X', 'r', 'n', 2803, 'G', 'v', '7241', 'V', 'p', 'i', '6013', 'X', 'C', '8145', 'Y', '2517', 'z', 's', 5293, 'F', 1371, 4459, 6983, 'R', 'X']
Example Output: 7241, V, p, i, 6013, X, C, 8145, Y, 2517, z

Example Input: ['S', 'c', 'o', 'c', '8655', 'K', '5735', 'o', 'w', 'F', '37', 'i', 'e', 'W', 'Q', 'T', 'V', 6279, 'T', 'L', 6009, 'G', 'g', 6109, 'd'], [1039, 7089, 'o', 'c', '8655', 'K', '5735', 'o', 'w', 'F', '37', 'i', 'e', 'W', 'l', 'o', 8977, 7697, 3777, 9645, 'r']
Example Output:
o, c, 8655, K, 5735, o, w, F, 37, i, e, W