human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Name, Period, League, FA Cup, League Cup, Other, Total, Apps, Goal Ratio
###Question: What's the highest FA Cup with the Name of Alan Smith, and League Cup smaller than 4?
gpt
SELECT MAX FA Cup FROM table WHERE Name = alan smith AND League Cup < 4