In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7201, 5817, 319, 'l', 'd', 'M', 1217, 'M', 5853, 2641, 'r', '1765', '7867', 'J', 'l', 'O', 'm', 'F', '9005', '1125', '5735', 'l', 'f', '5583', '9819', '1619', '8029', '7631', '1885', 'L', 'M', 3119, 'X', 81, 'L', 1031, 7617], [5653, 5767, 3799, '1765', '7867', 'J', 'l', 'O', 'm', 'F', '9005', '1125', '5735', 'l', 'f', '5583', '9819', '1619', '8029', '7631', '1885', 'T', 'h', 3885, 'N', 8837, 'k', 'J', 'F', 6273, 8931, 'G', 5023]