In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['r', 'U', 's', 'T', 307, 8169, 'A', 'r', 9373, 'P', 'g', 'e', 'J', 'b', 525, 7053, 'x', 'Z', '8535', 'P', '6703', '1277', 'A', '3845', '1853', 'f', 't', '6105', 'E', '6247', '6793', '2939', '1159', '4027', 'y', 'L', 'p', 'q', 'F', 933, 7049, 2985, 'z', 'n', 8563, 1143, 'p', 'q', 'B', 9715, 'H', 2467], [8807, 2175, 'V', '8535', 'P', '6703', '1277', 'A', '3845', '1853', 'f', 't', '6105', 'E', '6247', '6793', '2939', '1159', '4027', 'y', 'L', 'p', 'q', 'p', 'D', 'c', 9595, 3869, 5923, 4071, 'a', 'l', 'o', 'z', 'S', 4899, 'm', 'R', 623]