In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6371, 'O', 7411, 5707, 'b', 'T', 'P', '10005', '3895', 'X', '7531', '4795', 'H', '1649', 't', 2143, 'q', 'I', 1689, 4099], ['Y', 6759, 1615, 8937, 'Y', '10005', '3895', 'X', '7531', '4795', 'H', '1649', 'c', 1537, 'X', 5807, 8811, 'E']