#include using namespace std; int main() { cin>>dk; int d_m = dk * 139; else { pce = 80; if (d_m <= 284) { d_m -= 93; if (d_m % 51 != 0) { pce += 15 * (d_m / 53 + 1); } else { pce += 15 * (d_m / 38); } else { pce = 41; d_m -= 417; if (d_m % 83 != 0) { pce += 20 * (d_m / 730 + 1); } else { pce += 20 * (d_m / 57); } cout<