import java.io.*;
public class b_uas
{
public static void main (String[]args)throws Exception
{
BufferedReader luck = new BufferedReader(new InputStreamReader(System.in));
int total = 0;
int gaji = 10000;
int gapok = 1000000;
int jkb = 160;
int lembur = 20000;
System.out.print("Masukkan jam kerja :");
int jk = Integer.parseInt(luck.readLine());
if (jk<=jkb)
{
total = (jkb-jk)*gaji+gapok;
System.out.println("total gaji anda :"+total);
}
else if (jk>jkb)
{
total = (jk-jkb)*lembur+(jkb*gaji+gapok);
System.out.println("total gaji anda + lembur :"+total);
}
}
}
public class b_uas
{
public static void main (String[]args)throws Exception
{
BufferedReader luck = new BufferedReader(new InputStreamReader(System.in));
int total = 0;
int gaji = 10000;
int gapok = 1000000;
int jkb = 160;
int lembur = 20000;
System.out.print("Masukkan jam kerja :");
int jk = Integer.parseInt(luck.readLine());
if (jk<=jkb)
{
total = (jkb-jk)*gaji+gapok;
System.out.println("total gaji anda :"+total);
}
else if (jk>jkb)
{
total = (jk-jkb)*lembur+(jkb*gaji+gapok);
System.out.println("total gaji anda + lembur :"+total);
}
}
}
.