<human>:  Louise is hanging 30 of her pictures on the wall. She hangs some of them vertically, half of them horizontally, then hangs the remaining 5 pictures haphazardly. How many pictures did Louise hang vertically?
<bot>: How many pictures are hanging horizontally? ** There are 30 / 2 = <<30/2=15>>15 pictures hanging horizontally.
How many pictures are hanging either horizontally or haphazardly? ** So there is a total of 15 + 5 = <<15+5=20>>20 pictures hanging either horizontally or haphazardly.
How many pictures are hanging vertically? ** Therefore, there are 30 – 20 = <<30-20=10>>10 pictures hanging vertically.
#### 10