In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1229, 2165, 9405, 7393, 'c', 6613, 987, 9213, 9841, 1761, 977, 'X', 'w', 6301, 'h', 7313, 471, 9743, 8297, 'U', 5599, 'V', 'r', 'D', 'D', '5085', 'Z', 'E', '7057', 'r', '9905', '5733', 'M', 'z', 'v', 'C', 'u', 'A', '5577', '5937', 'Z', '4509', '4005', 'Z', 'a', 'F', '6315', '5875', 'c', 'A', 'l', 'I', 'F', 'd', 'Z', 'B', 2909, 'J', 7945, 4375, 'i'], ['u', 7037, 'F', 'P', 'p', 3491, 4945, 4199, 'Z', 9041, 'K', 7385, 'F', 275, 6533, 'x', 'O', 9603, 8641, 'G', 6723, 'L', 'S', 'D', '5085', 'Z', 'E', '7057', 'r', '9905', '5733', 'M', 'z', 'v', 'C', 'u', 'A', '5577', '5937', 'Z', '4509', '4005', 'Z', 'a', 'F', '6315', '5875', 'A', 'q', 4411, 3045, 'A', 933, 7623, 'w']