In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3307, 'O', 3931, 'A', 'g', '8183', '9119', '203', 'z', '6093', 'd', 'Q', 'z', 289], ['X', 8083, '8183', '9119', '203', 'z', '6093', 'd', 'Q', 'A', 'd']