In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[433, 2753, 'f', 2869, 6707, 643, 2115, 2057, 5057, 'G', 301, '5397', 'G', '3919', 'h', '8543', '8515', 'r', 'W', 'B', '4211', '521', '8117', '4179', 'V', 'h', 'Y', 'j', 'd', 'B', 'f', 'B', 599, 4371, 'U', 9645], [169, 8587, '5397', 'G', '3919', 'h', '8543', '8515', 'r', 'W', 'B', '4211', '521', '8117', '4179', 'V', 'h', 'Y', 'j', 'N', 4053, 6929, 2397, 'f', 'j', 'P', 6747, 'a', 'i', 155, 'U', 'I', 'U', 9627]