human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Municipality, Inhabitants, Mayor, Party, Election
###Question: In the election earlier than 2012 how many Inhabitants had a Party of five star movement?
gpt
SELECT SUM Inhabitants FROM table WHERE Party = five star movement AND Election < 2012