In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2749, 3891, 1345, 'q', 5189, 'N', 8239, 'r', 'K', 'Q', 'N', '4819', 'U', 'D', '7189', 'f', 'U', '7971', 'A', '6145', '5573', 'Y', 'O', '8787', '2021', '9433', 'm', 5893, 'T', 'P'], ['n', 8781, 269, 'A', 'I', 4321, 1263, 5577, 9345, 'Q', 'N', '4819', 'U', 'D', '7189', 'f', 'U', '7971', 'A', '6145', '5573', 'Y', 'O', '8787', '2021', '9433', 'N', 'z', 7201, 'E', 'j', 'q']