In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5867, 29, 'c', 'V', 'P', 'x', 3109, 3019, 9303, 'A', 3709, 5327, 'U', '3701', 'v', 'z', 'I', 'f', '911', 'q', 'b', 'u', '9747', 'T', '185', 'j', 'p', '8269', '5109', '4507', '6309', 'Z', 'o', '3943', 'f', 'F', '6243', 'C', 'e', 't', '7123', 'f', 'c', 'F', 8149, 's'], ['d', 'g', 3223, 'R', 697, 's', 'U', '3701', 'v', 'z', 'I', 'f', '911', 'q', 'b', 'u', '9747', 'T', '185', 'j', 'p', '8269', '5109', '4507', '6309', 'Z', 'o', '3943', 'f', 'F', '6243', 'C', 'e', 't', '7123', 'E', 'V', 7149, 7911, 'J', 'k', 'w']