In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7177, 'f', 4251, 'q', 'L', 3803, 2863, 687, 7943, 'r', 129, 't', 'J', 'H', 'M', '8061', '5625', '8007', 'w', 'L', '9099', '5471', '6967', 'e', 'X', 'R', 'A', 'P', '1211', 'A', 'r', 's', 2613, 5691, 's', 'i', 'k', 'G'], [5747, 7807, 5507, 3811, 2109, 'F', 'u', 7427, 't', 'J', 'H', 'M', '8061', '5625', '8007', 'w', 'L', '9099', '5471', '6967', 'e', 'X', 'R', 'A', 'P', '1211', 'A', 'r', 1069, 3503, 'h', 5115, 'o']