public class Main
{
public static void main
(String[] args
) {
number372();
}
static void number372()
{
int n = 3;
for (int c = 0; c < 90;)
{
if (n % 7 != 2)
{
if (c % 10 == 0)
{
System.
out.
print(((c
/ 10) + 1) + ":"); }
if (c % 10 == 9)
{
}
c++;
}
n += 3;
}
}
}
cHVibGljIGNsYXNzIE1haW4KewogICAgcHVibGljIHN0YXRpYyB2b2lkIG1haW4oU3RyaW5nW10gYXJncykKICAgIHsKICAgICAgICBudW1iZXIzNzIoKTsKICAgIH0KCiAgICBzdGF0aWMgdm9pZCBudW1iZXIzNzIoKQogICAgewogICAgICAgIGludCBuID0gMzsKCiAgICAgICAgZm9yIChpbnQgYyA9IDA7IGMgPCA5MDspCiAgICAgICAgewogICAgICAgICAgICBpZiAobiAlIDcgIT0gMikKICAgICAgICAgICAgewogICAgICAgICAgICAgICAgaWYgKGMgJSAxMCA9PSAwKQogICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgIFN5c3RlbS5vdXQucHJpbnQoKChjIC8gMTApICsgMSkgKyAiOiIpOwogICAgICAgICAgICAgICAgfQoKICAgICAgICAgICAgICAgIFN5c3RlbS5vdXQucHJpbnQobiArICIgIik7CgogICAgICAgICAgICAgICAgaWYgKGMgJSAxMCA9PSA5KQogICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbigpOwogICAgICAgICAgICAgICAgfQoKICAgICAgICAgICAgICAgIGMrKzsKICAgICAgICAgICAgfQoKICAgICAgICAgICAgbiArPSAzOwogICAgICAgIH0KICAgIH0KfQ==