In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8257, 8235, 's', 2995, 'M', 8641, 3953, 3861, 4363, 'L', 'i', 'T', '9269', '8107', 'G', '4269', 'U', 'c', '4689', '7417', '1121', 'a', '3641', 'Z', 'Z', '6183', '8805', 'v', '9319', 'B', 't', 'G', 'g', 'k', 'a', 4477, 5831, 'Q', 8331, 3217, 't', 'i', 'J', 't', 'O', 'c', 'M', 4837, 'e'], ['W', 'm', 8663, 6813, 6861, 8347, 'r', 161, 'V', 6787, 7241, 'L', 'i', 'T', '9269', '8107', 'G', '4269', 'U', 'c', '4689', '7417', '1121', 'a', '3641', 'Z', 'Z', '6183', '8805', 'v', '9319', 'Q', 10015, 'N', 1217, 'A', 'i', 4977, 4811, 'G', 'F', 3189, 4007, 'R', 6323, 9419]