import java.util.List;

class addList {
 addLists(a, b){
a.add(b.get(0));
b.add(a.get(0));
}
}