Please read the following table in Markdown format and then answer the question according to the table. Table cells in one row are seperated by '|', and different rows are seperated by '
'.

Table:
| Year | Class | Team | Points | Rank | Wins |
| --- | --- | --- | --- | --- | --- |
| 1974.0 | 250cc | Yamaha | 10.0 | 19th | 0.0 |
| 1978.0 | 250cc | Yamaha | 54.0 | 4th | 2.0 |
| 1978.0 | 500cc | Yamaha | 110.0 | 1st | 4.0 |
| 1979.0 | 500cc | Yamaha | 113.0 | 1st | 5.0 |
| 1980.0 | 500cc | Yamaha | 87.0 | 1st | 3.0 |
| 1981.0 | 500cc | Yamaha | 74.0 | 3rd | 2.0 |
| 1982.0 | 500cc | Yamaha | 68.0 | 4th | 2.0 |
| 1983.0 | 500cc | Yamaha | 142.0 | 2nd | 6.0 |
Question:
Which class had a rank of 2nd?
Answer:
500cc