In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8975, 7099, 4055, 3673, 'J', 'y', 'P', '1279', '5575', '3767', '2555', '2869', 'D', 'G', 'H', '4511', 'u', 7623, 6931, 'l', 7347], ['X', 'h', 10005, 3053, 5991, 83, 4981, 'J', 'y', 'P', '1279', '5575', '3767', '2555', '2869', 'D', 'G', 'H', '4511', 'x', 6371]