A hotel charges $90 per day for a double room $80 per day for a single room. If a total of 80 single and double rooms are occupied and a total revenue of $6930 is taken in, how many of each type of room are there?