/*ch0511.java*/
import java.lang.Math;
public class ch0511
{
  public static void main(String args[])
  {
    double dbp=300000;
    double dbi=0.0459/12;
    double dbn=30*12;
    double dbpow=Math.pow((1+dbi),dbn);
    double dbr=dbp*dbi*dbpow/(dbpow-1);
    System.out.println("R="+dbr+"Ôª/ÔÂ");
  }
}

