In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[585, 849, 273, 3871, 8231, 'x', 'E', 'u', 'c', '1277', '1563', 'E', 'c', '6621', '2567', '8023', '9633', 'V', 'z', '2891', '1737', '9547', '4685', '2791', 'f', '567', '4843', 'P', '3101', 'v', '3781', 'c', '6879', '7653', '4683', 'R', 'J', 'E', 3299, 7289, 6489], [7749, 6115, 'j', 6335, 'c', '1277', '1563', 'E', 'c', '6621', '2567', '8023', '9633', 'V', 'z', '2891', '1737', '9547', '4685', '2791', 'f', '567', '4843', 'P', '3101', 'v', '3781', 'c', '6879', '7653', '4683', 'R', 't', 9599, 3371, 4975, 'm', 5995, 'a', 'X', 6861, 1049, 6111, 1833, 5279, 1995, 'c', 'e', 6049]