There are only red marbles and green marbles in a bag. The ratio of red marbles to green marbles in the bag is 4 to 7. Julia then adds 90 red marbles and 36 green marbles to the bag, which makes the number of red marbles equal to the number of green marbles in the bag. How many total marbles are in the bag after Julia adds these marbles?