In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5465, 1063, 5187, 's', '5761', '7691', '379', 'n', 'q', '2061', 'a', 't', 9589, 1843], [6109, 749, 6605, 8969, 6941, '5761', '7691', '379', 'n', 'q', '2061', 'h', 'I', 5945]