In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6481, 'B', 'T', 4989, 'a', 'Q', 841, 8553, 'K', 'Q', 3743, 'V', 'B', '8479', '8655', 'b', '4451', '4095', '4799', 'H', 'X', 'K', '7059', 'm', 't', 9729, 2647], ['H', 'f', 'V', 'y', 6701, 'Q', 'i', 3277, 'P', 'B', '8479', '8655', 'b', '4451', '4095', '4799', 'H', 'X', 'K', '7059', 'm', 'V', 'y', 1397, 1511, 'X', 3231, 773, 5345, 'e', 5423]