/*
 * Main.java
 *
 * Created on March 26, 2008, 3:04 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package  javaapplication74;
import java.util.Scanner;
/**
 *
 * @author student
 */
public class Main {
    
    /** Creates a new instance of Main */
    public Main() {
    }
    
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
double x,y;
System.out.println("vuvedete x:");
x=sc.nextDouble();
System.out.println("vuvedete y:");
y=sc.nextDouble();
if(x==y) System.out.println("x=y");
else
if (x>y) 
{y=y*5;
 x/=8;
 System.out.println(x+" "+y);}
 else
 {
     x*=5;
     y/=8;
     System.out.println(x+" "+y);
     
 }


        // TODO code application logic here
    }
    
}
