Calculate (p,d,q) for seasonal ARIMA

time_series

#1

When we use seasonal ARIMA, we use (p,d,q) for ARIMA and an extra set of (p,d,q) for seasonality. How different are these two sets of (p,d,q). How to calculate these set of variables from ACF and PACF graphs ?