In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5305, 7877, 'W', 9545, 'v', 5427, 5945, 'O', 'v', 'u', 'O', 6755, '4939', '5623', '5265', '1873', 'f', 'Q', '7719', '879', '8653', 'c', '3849', 'v', 'u', 'h', 'a', '5849', 'o', '7181', 'O', 'L', 'u', '6221', 'g', 't', 'h', 'h', 'U', 'O', 'F', 'W', 'z', 'k', 'F', 7899, 4777, 'w', 'U', 'j', 't', 10007, 4179, 'b', 5773], [7041, 1449, 4343, '4939', '5623', '5265', '1873', 'f', 'Q', '7719', '879', '8653', 'c', '3849', 'v', 'u', 'h', 'a', '5849', 'o', '7181', 'O', 'L', 'u', '6221', 'g', 't', 'h', 'h', 'U', 'O', 'h', 'i', 'C', 1881, 5831, 'x', 8357]