added output for 4 1 case