200 logs are stacked in the following manner: 20 logs in the bottom row, 19 in the next row and 18 in the row next to it. In how many rows are the 200 logs placed and how many logs are in the top row?