In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9573, 8595, 'S', 'O', 'H', 5015, 29, 8797, 5483, 2505, 'S', 'e', 5167, 'x', 3477, '5901', '3715', '7701', '7895', 'N', '3059', '1935', 'R', '5321', '4189', 's', '9763', 's', 'I', 'D', 'w', 'i', '4075', '5461', '6019', 'r', 'A', 'L', 'f', 9861, 'm', 7873, 4461, 9441, 805, 1737, 'Q', 'R', 3795, 'j', 7343], ['x', 7057, 'Q', 9285, 'f', 'D', 'r', 6071, 's', 1859, 1175, '5901', '3715', '7701', '7895', 'N', '3059', '1935', 'R', '5321', '4189', 's', '9763', 's', 'I', 'D', 'w', 'i', '4075', '5461', '6019', 'r', 'A', 'L', 'C', 'b', 6159, 2775, 6103]