In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4023, 'c', 1179, 'X', 1205, 3311, 'f', '8373', 'F', '6935', 'd', 'c', '1199', 'e', 'C', '5157', 'u', '4709', 'L', '3561', '2083', 'i', '1207', '7625', '7419', 'U', 7411, 3823, 'c', 7603, 5303, 9443, 875, 2859, 8505, 'M', 5867, 163, 4873, 'l', 'v', 'X'], [8727, 'b', 'r', 'f', '8373', 'F', '6935', 'd', 'c', '1199', 'e', 'C', '5157', 'u', '4709', 'L', '3561', '2083', 'i', '1207', '7625', '7419', 'Q', 'l']