In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[351, 4371, 2923, 2081, 'B', 6045, 'A', 'p', 2217, 'v', 'g', 7693, 'C', 8311, 2787, 6593, 2501, 193, 'E', 't', 'j', 7965, '7369', '6631', '9495', 'Q', 'r', 'D', '8125', '9613', '5179', 'p', 'O', 'k', 'm', 'H', 'M', 'r', 'I', '4955', 'i', 'O', '4533', 'j', 'B', '5465', 'g', 'H', 'a', 'D', 't', 5439, 6919, 1599, 10029, 'a', 2617, 2517, 6779, 2105, 1531, 'L', 6249, 4741, 'E', 'u', 'c', 'Y', 7171, 6669, 'z'], ['j', 'c', 8005, 'd', 'e', 6737, 'S', 'a', 535, 4745, 'g', 9793, 'F', 'P', 4631, 849, 5561, '7369', '6631', '9495', 'Q', 'r', 'D', '8125', '9613', '5179', 'p', 'O', 'k', 'm', 'H', 'M', 'r', 'I', '4955', 'i', 'O', '4533', 'j', 'B', '5465', 'g', 'H', 'f', 7149, 4577, 'K', 'S', 'T', 'e', 'F', 5749, 'q', 'A', 3487, 6997, 4207, 't', 7385, 7537, 1277, 'D', 'V', 9179, 8599, 1777]