import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;

public class Main {
    private static final int[] ary = {
        100000,
        105000,
        111000,
        117000,
        123000,
        130000,
        137000,
        144000,
        152000,
        160000,
        168000,
        177000,
        186000,
        196000,
        206000,
        217000,
        228000,
        240000,
        252000,
        265000,
        279000,
        293000,
        308000,
        324000,
        341000,
        359000,
        377000,
        396000,
        416000,
        437000,
        459000,
        482000,
        507000,
        533000,
        560000,
        588000,
        618000,
        649000,
        682000,
        717000,
        753000,
        791000,
        831000,
        873000,
        917000,
        963000,
        1012000,
        1063000,
        1117000,
        1173000,
        1232000,
        1294000,
        1359000,
        1427000,
        1499000,
        1574000,
        1653000,
        1736000,
        1823000,
        1915000,
        2011000,
        2112000,
        2218000,
        2329000,
        2446000,
        2569000,
        2698000,
        2833000,
        2975000,
        3124000,
        3281000,
        3446000,
        3619000,
        3800000,
        3990000,
        4190000,
        4400000,
        4620000,
        4851000,
        5094000,
        5349000,
        5617000,
        5898000,
        6193000,
        6503000,
        6829000,
        7171000,
        7530000,
        7907000,
        8303000,
        8719000,
        9155000,
        9613000,
        10094000,
        10599000,
        11129000,
        11686000,
        12271000,
        12885000,
        13530000,
        14207000
    };

    public static void main(String args[]) throws IOException {
        //n週間の入力を取得
        int nWeeks = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in)).readLine());
        System.out.println(ary[nWeeks]);

    }
} 
/tmp/hf-datasets-cache/medium/datasets/42704881117311-config-parquet-and-info-qiankunmu-Project_CodeNet-896c9d36/hub/datasets--qiankunmu--Project_CodeNet_Python800_and_Java250/snapshots/c899fde44a77ba1cc14973ed3de064e4ff3aadc7/Project_CodeNet_Java250.tar.gz