import java.util.*; public class Main { public static void main(String[] args) { Scanner console = new Scanner(System.in); int price = console.nextInt(); int cost = 0; //write your code here...... if(price>=5000){ cost = (int )Math.floor(...