In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4169, 4589, 'I', 'R', '2525', 'n', 'M', '4563', 'K', 'b', 'z', 'x', 'T', '4371', '7183', '2515', 'D', '9377', 'e', 'a', 'q', 'J', 'x', 8849, 7841, 'M', 't', 'f', 5909, 'Z', 'U', 'E', 'I', 1397], ['a', 'S', 'i', 'Y', 9937, 'Z', 'n', 'E', 'L', 'e', 1309, '2525', 'n', 'M', '4563', 'K', 'b', 'z', 'x', 'T', '4371', '7183', '2515', 'D', '9377', 'e', 'a', 'q', 'f', 'w', 'H', 'P', 1607, 763, 'r', 'P', 9947, 'G', 5907]