In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3525, 'l', '5451', '8707', 'u', '197', '4319', '2941', 'g', 'B', 'Q', '9469', 'i', '5003', 'q', 'W', 'r'], ['G', 4913, 'F', 'l', 4285, 'i', 1367, 8791, 'U', 'P', '5451', '8707', 'u', '197', '4319', '2941', 'g', 'B', 'Q', '9469', 'i', '5003', 'O', 6093, 2781, 5785, 'B', 6841, 'y', 'P', 4893, 701, 'n', 'U']