find major number