Logs are stacked in a pile with 24 logs on the bottom row and 15 on the top row. There are 10rows in all with each row having one more log than the one above it. How many logs are in the stack?