In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3631, 'X', 9101, 'j', 945, 'U', 2481, 'O', 'v', 'G', '7819', '2859', '8031', 't', '4467', '1531', '229', 'u', '5701', '2097', '7479', '5637', 'q', '3983', 'C', '7285', '5061', 'O', 'Q', 6075, 595, 4131, 'r', 5851], ['e', 'z', 'D', 'L', 'p', 9363, 'K', 3183, 8217, 'G', '7819', '2859', '8031', 't', '4467', '1531', '229', 'u', '5701', '2097', '7479', '5637', 'q', '3983', 'C', '7285', '5061', 'H', 'u', 5027, 2109, 'A', 1749, 'X', 'Z', 9065, 'M', 7255]