In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3643, 'Q', 'W', 'Z', 'I', '6185', '6055', 't', '4479', '3751', 'u', 'D', 5563, 'Y', 'l', 'd'], [45, 9065, 'Z', 'I', '6185', '6055', 't', '4479', '3751', 'a', 'X', 'X', 'h', 'F', 'd', 3979]