Certainly, here are the results in Spanish with proper agreement:
599 lápices
12.314 computadoras
6.740 sillas
1.500.000 libros
In each case, I've made sure that the number agrees in gender and number with the nouns (lápices, computadoras, sillas, libros) and used the appropriate thousands separator.