Language: C++

//THIS IS A SANCTIMONIOUSLY HUGE BLACKISH DICK MOVE!
package main

import (
	"bufio"
	"fmt"
	"io"
	"os"
	"strconv"
)

/********** I/O usage **********/

//str := ReadString()
//i := ReadInt()
//X := ReadIntSlice(n)
//S := ReadRuneSlice()
//a := ReadFloat64()
//A := ReadFloat64Slice(n)

//str := PrintlnInts(X...)

/*******************************************************************/

func main() {
	m, d := ReadInt2()
	table := make([]int, m+1)
	for day := 22; day <= d; day++ {
		d10, d1 := day/10, day%10
		if d10 < 2 {
			continue
		}
		if d1 < 2 {
			continue
		}
		prod := d10 * d1
		if prod <= m {
			table[prod]++
		}
	}
	productDaysNum := 0
	for _, v := range table {
		productDaysNum += v
	}
	fmt.Println(productDaysNum)
}

/*********** Math ***********/
func abs(a int) int {
	if a < 0 {
		return -a
	}
	return a
}

func min(args ...int) int {
	if len(args) == 0 {
		panic("empty!")
	}
	min := args[0]
	for i := 1; i < len(args); i++ {
		if args[i] < min {
			min = args[i]
		}
	}
	return min
}

func max(args ...int) int {
	if len(args) == 0 {
		panic("empty!")
	}
	max := args[0]
	for i := 1; i < len(args); i++ {
		if args[i] > max {
			max = args[i]
		}
	}
	return max
}

func _gcd(a, b int) int {
	if b == 0 {
		return a
	}
	return _gcd(b, a%b)
}

func gcd(args ...int) int {
	if len(args) == 0 {
		panic("empty!")
	}
	gcd := args[0]
	for i := 1; i < len(args); i++ {
		gcd = _gcd(gcd, args[i])
	}
	return gcd
}

/*********** I/O ***********/

var (
	// ReadString returns a WORD string.
	ReadString func() string
	stdout     *bufio.Writer
)

func init() {
	ReadString = newReadString(os.Stdin)
	stdout = bufio.NewWriter(os.Stdout)
}

func newReadString(ior io.Reader) func() string {
	r := bufio.NewScanner(ior)
	r.Buffer(make([]byte, 1024), int(1e+11))
	// Split sets the split function for the Scanner. The default split function is ScanLines.
	// Split panics if it is called after scanning has started.
	r.Split(bufio.ScanWords)

	return func() string {
		if !r.Scan() {
			panic("Scan failed")
		}
		return r.Text()
	}
}

// ReadInt returns an integer.
func ReadInt() int {
	return int(readInt64())
}
func ReadInt2() (int, int) {
	return int(readInt64()), int(readInt64())
}
func ReadInt3() (int, int, int) {
	return int(readInt64()), int(readInt64()), int(readInt64())
}
func ReadInt4() (int, int, int, int) {
	return int(readInt64()), int(readInt64()), int(readInt64()), int(readInt64())
}

func readInt64() int64 {
	i, err := strconv.ParseInt(ReadString(), 0, 64)
	if err != nil {
		panic(err.Error())
	}
	return i
}

// ReadIntSlice returns an integer slice that has n integers.
func ReadIntSlice(n int) []int {
	b := make([]int, n)
	for i := 0; i < n; i++ {
		b[i] = ReadInt()
	}
	return b
}

// ReadFloat64 returns an float64.
func ReadFloat64() float64 {
	return float64(readFloat64())
}

func readFloat64() float64 {
	f, err := strconv.ParseFloat(ReadString(), 64)
	if err != nil {
		panic(err.Error())
	}
	return f
}

// ReadFloatSlice returns an float64 slice that has n float64.
func ReadFloat64Slice(n int) []float64 {
	b := make([]float64, n)
	for i := 0; i < n; i++ {
		b[i] = ReadFloat64()
	}
	return b
}

// ReadRuneSlice returns a rune slice.
func ReadRuneSlice() []rune {
	return []rune(ReadString())
}

// PrintIntsLine returns integers string delimited by a space.
func PrintlnInts(A ...int) string {
	res := []rune{}

	for i := 0; i < len(A); i++ {
		str := strconv.Itoa(A[i])
		res = append(res, []rune(str)...)

		if i != len(A)-1 {
			res = append(res, ' ')
		}
	}

	return string(res)
}


Compiler output:
a.cc:2:1: error: 'package' does not name a type
    2 | package main
      | ^~~~~~~
a.cc:49:1: error: 'func' does not name a type
   49 | func abs(a int) int {
      | ^~~~
a.cc:56:1: error: 'func' does not name a type
   56 | func min(args ...int) int {
      | ^~~~
a.cc:69:1: error: 'func' does not name a type
   69 | func max(args ...int) int {
      | ^~~~
a.cc:82:1: error: 'func' does not name a type
   82 | func _gcd(a, b int) int {
      | ^~~~
a.cc:89:1: error: 'func' does not name a type
   89 | func gcd(args ...int) int {
      | ^~~~
a.cc:102:5: error: expected constructor, destructor, or type conversion before '(' token
  102 | var (
      |     ^
a.cc:113:1: error: 'func' does not name a type
  113 | func newReadString(ior io.Reader) func() string {
      | ^~~~
a.cc:129:1: error: 'func' does not name a type
  129 | func ReadInt() int {
      | ^~~~
a.cc:132:1: error: 'func' does not name a type
  132 | func ReadInt2() (int, int) {
      | ^~~~
a.cc:135:1: error: 'func' does not name a type
  135 | func ReadInt3() (int, int, int) {
      | ^~~~
a.cc:138:1: error: 'func' does not name a type
  138 | func ReadInt4() (int, int, int, int) {
      | ^~~~
a.cc:142:1: error: 'func' does not name a type
  142 | func readInt64() int64 {
      | ^~~~
a.cc:151:1: error: 'func' does not name a type
  151 | func ReadIntSlice(n int) []int {
      | ^~~~
a.cc:160:1: error: 'func' does not name a type
  160 | func ReadFloat64() float64 {
      | ^~~~
a.cc:164:1: error: 'func' does not name a type
  164 | func readFloat64() float64 {
      | ^~~~
a.cc:173:1: error: 'func' does not name a type
  173 | func ReadFloat64Slice(n int) []float64 {
      | ^~~~
a.cc:182:1: error: 'func' does not name a type
  182 | func ReadRuneSlice() []rune {
      | ^~~~
a.cc:187:1: error: 'func' does not name a type
  187 | func PrintlnInts(A ...int) string {
      | ^~~~