Language: C

package main

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

var (
	readString func() string
)

func init() {
	readString = newReadString(os.Stdin)
}

func main() {
	n := readString()
	b := []byte(n)

	for i := 0; i < 3; i++ {
		c := int(b[i] - '0')
		if c == 7 {
			fmt.Println("Yes")
			return
		}
	}

	fmt.Println("No")
}

/*-------------------inputs-------------------*/

func readInt() int {
	return int(readInt64())
}

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

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

func newReadString(ior io.Reader) func() string {
	r := bufio.NewScanner(ior)
	r.Buffer(make([]byte, 1024), int(1e+11))
	r.Split(bufio.ScanWords)

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

/*-------------------utilities-------------------*/

func abs(x int) int {
	if x < 0 {
		return -x
	}
	return x
}

func subL(list []int) []int {
	sl := make([]int, len(list)-1)
	for i := range list {
		if i == len(list)-1 {
			continue
		}
		sub := list[i+1] - list[i]
		sl[i] = sub
	}
	return sl
}


Compiler output:
main.c:1:1: error: unknown type name 'package'
    1 | package main
      | ^~~~~~~
main.c:3:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'import'
    3 | import (
      | ^~~~~~
main.c:19:1: error: unknown type name 'func'
   19 | func main() {
      | ^~~~
main.c: In function 'main':
main.c:20:12: error: expected expression before '=' token
   20 |         n := readString()
      |            ^
main.c:20:14: error: implicit declaration of function 'readString' [-Wimplicit-function-declaration]
   20 |         n := readString()
      |              ^~~~~~~~~~
main.c:23:21: error: 'i' undeclared (first use in this function)
   23 |         for i := 0; i < 3; i++ {
      |                     ^
main.c:23:21: note: each undeclared identifier is reported only once for each function it appears in
main.c:23:31: error: expected ';' before '{' token
   23 |         for i := 0; i < 3; i++ {
      |                               ^~
      |                               ;
main.c: At top level:
main.c:36:1: error: unknown type name 'func'
   36 | func readInt() int {
      | ^~~~
main.c: In function 'readInt':
main.c:36:20: error: expected identifier or '(' before '{' token
   36 | func readInt() int {
      |                    ^
main.c:40:1: error: unknown type name 'func'
   40 | func readInt64() int64 {
      | ^~~~
main.c:40:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int64'
   40 | func readInt64() int64 {
      |                  ^~~~~
main.c:48:1: error: unknown type name 'func'
   48 | func readf() float64 {
      | ^~~~
main.c:48:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'float64'
   48 | func readf() float64 {
      |              ^~~~~~~
main.c:56:1: error: unknown type name 'func'
   56 | func newReadString(ior io.Reader) func() string {
      | ^~~~
main.c:56:20: error: unknown type name 'ior'
   56 | func newReadString(ior io.Reader) func() string {
      |                    ^~~
main.c:71:1: error: unknown type name 'func'
   71 | func abs(x int) int {
      | ^~~~
main.c:71:10: error: unknown type name 'x'
   71 | func abs(x int) int {
      |          ^
main.c:78:1: error: unknown type name 'func'
   78 | func subL(list []int) []int {
      | ^~~~
main.c:78:11: error: unknown type name 'list'
   78 | func subL(list []int) []int {
      |           ^~~~
main.c:89: error: expected '{' at end of input