line 1; ifr < 5, g >= 7, g' = 4