Hi, Sath.
Happy New Year!
My answer would be: both.
It's like choosing between food and water.
Not taking good care of the body will eventually backfire and undermine brain performance.
Physical activity improves creativity, memory, etc.
Make a schedule to incorporate activities from both areas. Then adjust along the way to make them work for you.
Good luck.