There are 2020 small boxes with 1,2,...,2020 chips and 2 large empty boxes. Each turn B will choose one of the two large boxes and A will choose a nonempty small box and will put the chips in it into the box chosen by B. After 2020 turns all small boxes are empty and A chooses one of the large boxes and receives the chips in it. How many chips can A get at least?