In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4183, 'U', 7363, 'G', 'p', 'm', 5967, 7979, 'o', 6465, 1603, 'a', 'U', 539, 'V', 867, 'z', '9291', '3659', 'X', '9869', 'S', '7001', '347', 'F', '1433', 'c', 'J', '6113', 'H', 'd', 'J', '8705', 'P', 1783], [4781, 4033, 'M', 'W', 4561, 'Z', 'z', '9291', '3659', 'X', '9869', 'S', '7001', '347', 'F', '1433', 'c', 'J', '6113', 'H', 'd', 'J', '8705', 's', 4093, 201, 'i', 'Y', 'S', 2227, 'C', 5375, 1627]