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:
| Athlete | Class | Event | Bout 1 | Bout 2 | Bout 3 | Bout 4 | Bout 5 | Bout 6 | Rank | 1/8 Finals | Quarterfinals | Semifinals |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| Abdullah Alhaddad | Cat. A | Foil | Pender ( POL ) L 3-5 | Maillard ( FRA ) L 1-5 | Mato ( HUN ) L 1-5 | Pellegrini ( ITA ) L 4-5 | Andreev ( RUS ) W 5-2 | N/A | 5 Q | Pender ( POL ) L 6-15 | Did not advance | Did not advance |
| Abdullah Alhaddad | Cat. A | Épée | Pylarinos ( GRE ) W 5-3 | Davydenko ( UKR ) L 1-5 | Serafini ( ITA ) W 5-1 | Maillard ( FRA ) L 4-5 | Saengsawang ( THA ) W 5-4 | Sanchez ( ESP ) W 5-0 | 3 Q | Saengsawang ( THA ) L 9-15 | Did not advance | Did not advance |
| Tariq Alqallaf | Cat. A | Foil | Saengsawang ( THA ) W 5-1 | Zhang ( CHN ) L 0-5 | Betti ( ITA ) L 0-5 | Horvath ( HUN ) W 5-4 | Granell ( ESP ) W 5-0 | Andree ( GER ) W 5-1 | 3 Q | Bazhukov ( UKR ) W 15-9 | Ye ( CHN ) L 6-15 | Did not advance |
| Tariq Alqallaf | Cat. A | Épée | Horvath ( HUN ) W 5-1 | Stanczuk ( POL ) W 5-3 | Wong ( HKG ) L 3-5 | Tian ( CHN ) L 0-5 | Betti ( ITA ) L 0-5 | N/A | 5 Q | Maillard ( FRA ) L 7-15 | Did not advance | Did not advance |
| Abdulwahab Alsaedi | Cat. B | Foil | Fawcett ( GBR ) W 5-2 | Francois ( FRA ) L 3-5 | Rodgers ( USA ) L 4-5 | Datsko ( UKR ) L 4-5 | Czop ( POL ) L 2-5 | N/A | 5 Q | Hui ( HKG ) L 3-15 | Did not advance | Did not advance |
| Abdulwahab Alsaedi | Cat. B | Épée | Williams ( USA ) L 4-5 | Bogdos ( GRE ) L 4-5 | Poleshchuk ( RUS ) L 1-5 | Latreche ( FRA ) L 2-5 | Komar ( UKR ) L 2-5 | N/A | 6 | Did not advance | Did not advance | Did not advance |
Question:
when Sanchez ( esp ) w 5-0 were the bout 6, which were the class?
Answer:
Cat. A