Should I file as resident or nonresident for 2017? I am a F1 International Student. I arrived in US Jan. 1st 2013.

2017 is my 5th year in United States. Should I file as resident or non resident for tax purposes.