In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['G', 9685, 'c', 'f', 'X', 2157, 3475, 'D', 'I', 'N', 'Z', '6251', '4441', 'Q', 'g', 'U', '9461', '9605', '7115', '5775', '8371', '8053', 'g', '3257', '4205', 'i', 'W', 'S', '8165', '285', '651', '6941', '1891', 'M', '4539', 'X', 'v', 'Q', 319, 755, 5163, 'G', 'R', 7589, 1439, 'X', 1193, 1629, 'R', 'P', 4461, 'f', 'L'], ['E', 'j', 4915, 'E', 'a', 'B', 8125, 'Q', 4621, 2863, 9941, 8843, 'Z', '6251', '4441', 'Q', 'g', 'U', '9461', '9605', '7115', '5775', '8371', '8053', 'g', '3257', '4205', 'i', 'W', 'S', '8165', '285', '651', '6941', '1891', 'M', '4539', 'C', 'x', 'h', 365, 7671, 's', 'B', 9431, 'a', 5161, 'V', 'z', 'W']