import java.util.*;
    public class Main {
        public static void main(String[] args) {
            Scanner sc = new Scanner(System.in);
            double a = sc.nextInt();
            double b = sc.nextInt();
            int c = sc.nextInt();
            double d = Math.ceil(a/b);
            System.out.println((int)d * c);
        }
    } import java.util.*; util.* java public class Main {
        public static void main(String[] args) {
            Scanner sc = new Scanner(System.in);
            double a = sc.nextInt();
            double b = sc.nextInt();
            int c = sc.nextInt();
            double d = Math.ceil(a/b);
            System.out.println((int)d * c);
        }
    } Main public static void main(String[] args) {
            Scanner sc = new Scanner(System.in);
            double a = sc.nextInt();
            double b = sc.nextInt();
            int c = sc.nextInt();
            double d = Math.ceil(a/b);
            System.out.println((int)d * c);
        } main {
            Scanner sc = new Scanner(System.in);
            double a = sc.nextInt();
            double b = sc.nextInt();
            int c = sc.nextInt();
            double d = Math.ceil(a/b);
            System.out.println((int)d * c);
        } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double a = sc.nextInt(); a sc.nextInt() sc.nextInt sc double b = sc.nextInt(); b sc.nextInt() sc.nextInt sc int c = sc.nextInt(); c sc.nextInt() sc.nextInt sc double d = Math.ceil(a/b); d Math.ceil(a/b) Math.ceil Math a/b a b System.out.println((int)d * c) System.out.println System.out System System.out (int)d * c (int)d c String[] args args public class Main {
        public static void main(String[] args) {
            Scanner sc = new Scanner(System.in);
            double a = sc.nextInt();
            double b = sc.nextInt();
            int c = sc.nextInt();
            double d = Math.ceil(a/b);
            System.out.println((int)d * c);
        }
    } public class Main {
        public static void main(String[] args) {
            Scanner sc = new Scanner(System.in);
            double a = sc.nextInt();
            double b = sc.nextInt();
            int c = sc.nextInt();
            double d = Math.ceil(a/b);
            System.out.println((int)d * c);
        }
    } Main
import java.util.*;
    public class Main {
        public static void main(String[] args) {
            Scanner sc = new Scanner(System.in);
            double a = sc.nextInt();
            double b = sc.nextInt();
            int c = sc.nextInt();
            double d = Math.ceil(a/b);
            System.out.println((int)d * c);
        }
    }
