In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3495, 7677, 'Q', 'V', 'e', 2459, 7331, 7867, 't', 7397, 'Q', 'G', 'O', 'E', 6289, 'E', 8091, '1037', 'h', '9515', '1347', '7', '8433', '9209', 'g', 'q', '3015', 'C', 'a', '5739', '4849', 'T', 'b', 'q', 'S', 'T', '3005', '5939', 'H', '2971', 'P', 'Z', 'W', 7085, 4505, 'L', 81], ['Z', 'G', 551, '1037', 'h', '9515', '1347', '7', '8433', '9209', 'g', 'q', '3015', 'C', 'a', '5739', '4849', 'T', 'b', 'q', 'S', 'T', '3005', '5939', 'H', '2971', 'P', 'Z', 'L', 2529, 2123, 4677, 3159, 7183, 7271, 6767]