A bottling machine filled 3 of every 8 bottles with grape juice. The bottling machine filled 144 bottles altogether. How many of these bottles were filled with grape juice?