// package cn.edu.gues.week04;
import java.util.Scanner;
public class Main {
public static void main(String[] agrs) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int a = sc.nextInt();
double x = 0;
for (int i = 0; i < n; i++) {
x = sc.nextDouble();
if (x < a) {
System.out.printf("On Sale! %.1f\n", x);
}
}
}
}