return 5 for 1,1,3