2 different factorial solution