In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8625, 4947, 7247, 'e', 'P', 5585, 'b', 9195, 191, 3895, 5735, 1459, 5999, 377, 'c', 8445, 4203, 'j', '5975', 'E', 'X', 'J', '8431', 'i', 'i', '7733', '7753', 'v', 'V', 'A', '7451', 'M', 'Q', '8063', 'a', '1071', 'Q', 'b', '4695', '5921', '5159', 'R', 'W', '5539', 'b', '369', 'o', 8581, 'G'], ['V', 141, 'k', 'x', 'e', 3477, 5445, 'q', 'H', '5975', 'E', 'X', 'J', '8431', 'i', 'i', '7733', '7753', 'v', 'V', 'A', '7451', 'M', 'Q', '8063', 'a', '1071', 'Q', 'b', '4695', '5921', '5159', 'R', 'W', '5539', 'b', '369', 'j', 'W', 'O', 4165, 7801, 'O', 'Z', 'N', 'g', 'N', 'M']