In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8945, 6211, 'h', 'V', '6025', '5011', 'l', 'd', 'o', 'O', 'b', 'e', '1121', 'N', 'm', '1593', '4435', 'j', '8235', 'L', 9495, 'b', 4511, 3945, 'T', 7107, 295, 3337, 329, 'B', 5927, 5095, 'K'], [3141, 407, 2009, 'v', 5487, 4947, 7947, 913, 'C', 'K', 's', 7587, 2219, '6025', '5011', 'l', 'd', 'o', 'O', 'b', 'e', '1121', 'N', 'm', '1593', '4435', 'j', '8235', 'J', 4747, 'Z', 8965, 'L', 8613, 2475, 't', 'x', 209, 5345]