There are 18 bikes in a bike rack. There are 4 more blue bikes than yellow bikes,and 2 less yellow bikes than green bikes.how many bikes of each color are in the rack?