Cost Basis for UTMA Withdrawal

I want to sell some of the stocks in my UTMA that is 20+ years old. I just found out I have this account. What cost basis method should I be using if I dont plan to cash out the entire account?