In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['R', 3909, 'Q', 4771, 8841, 'T', 'V', 'b', '1089', 'q', '9457', '3267', '3565', 'j', '921', 'Z', '583', 'J', 'A', 'T', '4101', 'C', 'M', 'h', '661', 'W', 'p', 'p', 'o', 5465, 4693, 9547, 689, 'U', 5135, 8135, 'u', 'g', 'i', 4705, 9629], [6151, 771, 's', 3993, 9343, 8565, 'Q', 'd', 8249, 'l', 'r', 3341, 6551, 1081, 9653, 1325, 9683, 'a', 3939, '1089', 'q', '9457', '3267', '3565', 'j', '921', 'Z', '583', 'J', 'A', 'T', '4101', 'C', 'M', 'h', '661', 'W', 'p', 'H', 'k', 4387, 'F', 'F', 8357, 'E', 645, 'x', 'I', 845, 'k', 'R', 'k', 'f', 4473, 'q', 'P', 'B']