In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3509, 6765, 'l', 7841, 59, 'z', 7719, 'r', '9091', 'G', 'H', '511', '8819', 'v', '1851', 'U', '6103', '3311', '1413', 'W', 'G', 3965, 6757, 5835], ['w', 'b', 'g', 1829, 'Q', 'r', '9091', 'G', 'H', '511', '8819', 'v', '1851', 'U', '6103', '3311', '1413', 'W', 'S', 6357, 4927, 'U', 'R', 5519, 'i', 2485, 'L', 5509, 'L']