Charcoal, 24 bytes (noncompeting)
NαAIUVN⟦UGPi⁺α¹⟧β§β⁺α›α⁰
Note: As of post time, does not work for n
where n
is a positive multiple of 14.
Explanation
Nα Input number to a
A β Assign to b
I Cast
UVN Evaluate variable N
⟦UGPi⁺α¹⟧ With arguments GetVariable(Pi) and a+1
§β⁺α›α⁰ Print b[a+(a>0)]