human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Date, Name of ship, Flag, Tonnage, Fate
###Question: What is the average tonnage of the ship named proletarij?
gpt
SELECT AVG Tonnage FROM table WHERE Name of ship = proletarij