/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
{
int quantidadeAnos = 5;
int horasTrabalhadas = 40;
int valorHora = 50;
int salario = 0;
if (quantidadeAnos <= 1) {
salario = 1500 + (valorHora * horasTrabalhadas);
} else if ((quantidadeAnos > 1) && (quantidadeAnos < 3)) {
salario = 2000 + (valorHora * horasTrabalhadas);
} else {
salario = 3000 + (valorHora * horasTrabalhadas);
}
System.
out.
println("salario: " + salario
); }
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgSWRlb25lCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewoJCWludCBxdWFudGlkYWRlQW5vcyA9IDU7CgkJaW50IGhvcmFzVHJhYmFsaGFkYXMgPSA0MDsKCQlpbnQgdmFsb3JIb3JhID0gNTA7CgkJaW50IHNhbGFyaW8gPSAwOwoJCQoJCWlmIChxdWFudGlkYWRlQW5vcyA8PSAxKSB7CgkJICAgIHNhbGFyaW8gPSAxNTAwICsgKHZhbG9ySG9yYSAqIGhvcmFzVHJhYmFsaGFkYXMpOwoJCX0gZWxzZSBpZiAoKHF1YW50aWRhZGVBbm9zID4gMSkgJiYgKHF1YW50aWRhZGVBbm9zIDwgMykpIHsKCQkgICAgc2FsYXJpbyA9IDIwMDAgKyAodmFsb3JIb3JhICogaG9yYXNUcmFiYWxoYWRhcyk7CgkJfSBlbHNlIHsKCQkgICAgc2FsYXJpbyA9IDMwMDAgKyAodmFsb3JIb3JhICogaG9yYXNUcmFiYWxoYWRhcyk7CgkJfQoJCQoJCVN5c3RlbS5vdXQucHJpbnRsbigic2FsYXJpbzogIiArIHNhbGFyaW8pOwoJfQp9