In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Q', 4003, 4989, 'X', 2443, 8707, 'M', 2645, 'C', 'O', 'P', 7935, 'b', 'Q', 'z', 2249, 9703, 'M', 8299, 1021, 'J', 'P', 3029, 'g', '9539', 'b', '8043', 'X', '7481', '6259', 'B', '9245', '3451', 'Z', '3981', 'm', '9073', 'V', 'x', 'Z', 'U', '4585', '5523', 'i', '257', 'k', '8821', 'g', 'V', 'v', 'w', 'i', 7113, 'c', 'r', 7433, 6199], [7039, 9297, 5153, 'Z', 'B', 'K', 'P', 7053, 'b', 'S', 'z', 401, 6067, 7955, 'W', 'P', 4047, 'w', 1849, 121, 'e', 'k', 8233, '9539', 'b', '8043', 'X', '7481', '6259', 'B', '9245', '3451', 'Z', '3981', 'm', '9073', 'V', 'x', 'Z', 'U', '4585', '5523', 'i', '257', 'k', '8821', 'g', 'V', 'v', 'h', 4349, 3703, 'z', 'w', 3653, 4015, 'd', 's', 7019, 'u', 839, 'I', 8267, 395]