In one day a movie store rented out 50 comedies. If the ratio of comedies rented to action movies rented was 10:7, how many action movies were rented?