In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5691, 9107, 2551, 'p', 'Z', 'F', 'E', 't', 2793, 9911, 4391, 'C', 3745, 'e', 4317, 1373, 'M', 6633, '5167', 'm', 'a', 'P', 'Y', '5717', '3763', 'c', 'w', '8275', 'h', 'E', '8373', 'Q', '8405', '8935', '9751', 'a', 'y', 'A', '2745', 'Y', '9107', '1543', '1041', '6131', '4921', 'w', 'K', 'w', 'q', 'T', 3765, 'p', 'P', 1393, 7977, 'l', 'p', 4611], [4185, 'B', 'a', 9429, 's', 'g', 'W', 3401, 747, 7393, 'D', 'Z', 'U', 'q', 6069, '5167', 'm', 'a', 'P', 'Y', '5717', '3763', 'c', 'w', '8275', 'h', 'E', '8373', 'Q', '8405', '8935', '9751', 'a', 'y', 'A', '2745', 'Y', '9107', '1543', '1041', '6131', '4921', 'w', 'K', 'z', 'u', 'z', 6119]