In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5473, 2823, 'M', 'e', 'F', 'x', 413, 'H', 'z', 1429, 6643, 8435, 'm', 'w', 'X', 'r', 'b', 'T', 't', '5139', '7781', 'H', 'q', 'a', 'N', '8587', 'z', '4937', '6935', '6245', '6899', '1423', 'c', '8019', 'F', 'A', '9359', '9893', '6439', '4283', 'k', '6507', 'D', 8297, 'y', 's', 8815, 147, 819, 4115, 'e', 765, 'f', 'f', 'Y'], ['l', 'w', 9927, 'w', 7257, 't', 'e', 'a', 2731, 'W', 'L', 'e', 'T', 'r', 'b', 'T', 't', '5139', '7781', 'H', 'q', 'a', 'N', '8587', 'z', '4937', '6935', '6245', '6899', '1423', 'c', '8019', 'F', 'A', '9359', '9893', '6439', '4283', 'k', '6507', 'c', 'C', 'm', 'W', 'k', 'h', 7123, 7051, 'z', 'A', 2025, 'K', 7189, 7313, 7659]