In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['A', 'b', 'M', 'Q', 'J', 'c', 'I', 's', 'U', '5241', 'e', 'J', 'S', 't', '1287', 'p', 'x', 'k', '3009', 'O', '9137', 'i', '7701', '6999', '3275', '7075', '7321', '841', '2175', 'L', '1479', 'u', 'S', 'j', 'k', 'N', 'S', 'b', 9641, 'v', 1235, 'o', 'j', 'e', 6289, 'g', 4823, 'R', 'c', 'x', 'd', 6231], [8449, 4007, 313, 1259, 'q', 'J', 'c', 'I', 's', 'U', '5241', 'e', 'J', 'S', 't', '1287', 'p', 'x', 'k', '3009', 'O', '9137', 'i', '7701', '6999', '3275', '7075', '7321', '841', '2175', 'L', '1479', 'u', 'S', 'j', 'r', 'b', 'g', 8071, 'V', 9509]