In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2003, 8439, 3543, 255, 'v', 5397, 5759, 'b', 'r', 7981, 8519, '8237', 'g', 'A', '5467', '5799', 'K', 'O', '1253', '3417', 'e', 'd', 'g', '8401', '3627', '2583', 'h', 'g', 'p', 4181, 6467, 3311, 1555, 1373, 'T', 'I'], [473, 'm', 'y', 7039, 'X', 5355, 8661, 'l', 'z', 'F', 3083, 2993, 'o', '8237', 'g', 'A', '5467', '5799', 'K', 'O', '1253', '3417', 'e', 'd', 'g', '8401', '3627', '2583', 'z', 8439, 5541, 5525, 'N', 9059]