Junior has one gallon of red paint and one gallon of blue paint. He takes one cup of red paint and adds it to the gallon of blue paint. After mixing it thoroughly, he takes out one cup of the mixed paint. Inside this cup the ratio of paint that is blue is a/b as a reduced common fraction. What is the value of A+B