import java.util.Scanner;
public class Main {
public static void main(String[] args){
int cash;//工资
System.out.println("请输入基本月工资");
Scanner input=new Scanner(System.in);
cash=input.nextInt();
double jintie=(int)(cash*0.4);
double fangzu=(int)(cash*0.25);
double heji=(int)(cash+jintie+fangzu);
System.out.println("该员工的工资细目为:\n基本工资为:"+cash);
System.out.println("物价津贴为:"+jintie);
System.out.println("房租津贴为:"+fangzu);
System.out.println("共领工资:"+heji);
}
}