In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9107, 'V', 'Q', 7565, 'R', '5465', '9525', '9845', 'S', 'v', '3091', '3157', 'K', '1301', 'O', 'l', '1017', '7747', '6321', '8009', 'u', 'o', '7205', '1611', 'I', 'R', '627', '5801', '6657', 'q', '3419', 'X', 'C', 'U', 'p', 'V', 9911, 4283, 5281, 6897, 'd', 8363, 8763, 5781, 2063, 7639, 435, 3471, 1193, 'O', 1481, 8209, 'T', 'x'], [1167, 1217, 943, 2227, 'j', 'B', 's', 2277, 6119, 's', 'R', '5465', '9525', '9845', 'S', 'v', '3091', '3157', 'K', '1301', 'O', 'l', '1017', '7747', '6321', '8009', 'u', 'o', '7205', '1611', 'I', 'R', '627', '5801', '6657', 'q', '3419', 'X', 'o', 'r', 9993, 7077, 'S', 1137, 5259, 'x', 491]