#include <bits/stdc++.h>
using namespace std;
int num[111] = {1,  3,  5,  3,  3,  5,  5,  5,  5,  5,  5,  5,  5,  7,  7,
                7,  7,  7,  7,  7,  7,  7,  7,  7,  7,  9,  9,  9,  9,  9,
                9,  9,  9,  9,  9,  9,  9,  9,  9,  9,  9,  11, 11, 11, 11,
                11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
                11, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
                13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 15, 15, 15, 15, 15,
                15, 15, 15, 15, 15, 15, 15, 15, 15, 15};
int main() {
  int x;
  while (scanf("%d", &x) != EOF) {
    printf("%d\n", num[x - 1]);
  }
}
