Question: Which Class has a Chassis of Mazda 787B?
SQL: SELECT class FROM table_name_16 WHERE chassis = "mazda 787b"