The rates of simple interest in two banks A and B are in the ratio 5 : 4. A person wants to deposit his total savings in two tanks in such a way that he received equal half yearly interest form both. He should deposit the savings in banks A and B in the ratio of