PROGRAMMING:Find books
Given the name and price of n books, this problem requires programming to find and output the name and price of the books with the highest and lowest price.
###Input format:
Enter the first line to give a positive integer n ($$< $$10), and then give the information of n books. The title of each book is given in one line, that is, a string no more than 30 in length, followed by a positive real price. The title guarantees that there are no books at the same price.
###Output format:
In one line, output the books with the highest price and the lowest price in the format of "price, title". 2 decimal places are reserved for the price.
###Input example:
```in
three
Programming in C
twenty-one point five
Programming in VB
eighteen point five
Programming in Delphi
twenty-five
```
###Output example:
```out
25.00, Programming in Delphi
18.50, Programming in VB
```
answer:If there is no answer, please comment
###Input format:
Enter the first line to give a positive integer n ($$< $$10), and then give the information of n books. The title of each book is given in one line, that is, a string no more than 30 in length, followed by a positive real price. The title guarantees that there are no books at the same price.
###Output format:
In one line, output the books with the highest price and the lowest price in the format of "price, title". 2 decimal places are reserved for the price.
###Input example:
```in
three
Programming in C
twenty-one point five
Programming in VB
eighteen point five
Programming in Delphi
twenty-five
```
###Output example:
```out
25.00, Programming in Delphi
18.50, Programming in VB
```
answer:If there is no answer, please comment