In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5451, 6383, 9997, 'R', 2459, 23, 'j', 5455, 5229, 'V', 6913, '9077', '1001', '8931', '5547', '8567', '5359', 'i', '1775', 'z', 't', 'z', 'q', 'N', 1833, 2223, 'g', 'W', 3591, 'K', 5255, 7841], [7725, 9723, 7031, 8589, 8867, 7959, 'Z', 'P', 'Z', '9077', '1001', '8931', '5547', '8567', '5359', 'i', '1775', 'z', 't', 'z', 'q', 'c', 'S', 'P', 'v', 1277, 's', 'i', 'h', 'b', 'x']