#include <bits/stdc++.h>
using namespace std;
int n, data[101] = {1,  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() {
  scanf("%d", &n);
  printf("%d", data[n]);
  return 0;
}
