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

['X', 'U', 'Z', 9489, '4623', 'M', 'd', '5977', '7669', '8583', '2455', 'D', 'j', 'c', 'U', 'p', 'R', 609, 4535, 4269, 8941, 'I', 2091, 'Q'], [3721, 8573, 8821, 6095, 1215, 1195, '4623', 'M', 'd', '5977', '7669', '8583', '2455', 'D', 'j', 'c', 'L', 'm', 'q', 'j', 697, 3367, 'R']
4623, M, d, 5977, 7669, 8583, 2455, D, j, c

['z', 'L', 'e', 3279, 's', 'U', 'p', '2885', 'w', 'x', 7713], [3907, 'e', 's', 'U', 'p', '2885', 'w', 'F', 'x', 'v', 5319]
s, U, p, 2885, w

[2961, 9075, 1005, 7677, 'u', 2473, 'c', '107', 's', '1031', '6879', '2985', 'D', '3165', 'A', 9513, 'P'], [4587, 6873, 'q', '107', 's', '1031', '6879', '2985', 'D', '3165', 'y', 'E']

107, s, 1031, 6879, 2985, D, 3165