human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Year, Team, Co-Drivers, Class, Laps, Pos., Class Pos.
###Question: Which position finished 3rd in class and completed less than 338 laps?
gpt
SELECT Pos. FROM table WHERE Class Pos. = 3rd AND Laps < 338