In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3087, 3973, '3719', 'W', '2513', 'D', 's', '9871', '10019', '6033', '5257', 'E', '1179', 'S', 'l', 'L', 3311, 10015, 'l', 'b', 747, 'D'], ['E', 793, 'b', 1423, '3719', 'W', '2513', 'D', 's', '9871', '10019', '6033', '5257', 'E', '1179', 'Z', 8435, 'y', 7889, 'g', 473, 'T']