The number of students who like the color blue is 30/100*200 = <<30/100*200=60>>60
Out of the 200 students in the class, 200-60 = <<200-60=140>>140 don't like the color blue.
Among the students who don't like the color blue, 40/100*140 = <<40/100*140=56>>56 students like the color red.
If the rest of the students like neither blue nor red and only like the color yellow, their number is 140-56 = <<140-56=84>>84
The total number of students who like the color yellow and those who like the color blue is 84+60 = <<84+60=144>>144
#### 144