> For the complete documentation index, see [llms.txt](https://ret2basic.gitbook.io/ctfwriteup/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ret2basic.gitbook.io/ctfwriteup/web3-ctf/evm-puzzles/puzzle-3.md).

# Puzzle 3

CALLDATASIZE

## Puzzle

```
############
# Puzzle 3 #
############

00      36      CALLDATASIZE
01      56      JUMP
02      FD      REVERT
03      FD      REVERT
04      5B      JUMPDEST
05      00      STOP

? Enter the calldata: 
```

## Solution

`CALLDATASIZE` pushes the size of calldata onto the stack, and `JUMP` will jump to that address.

The objective is to jump to address `0x04`, so the size of our calldata should be 4. For example, you can use `0xdeadbeef`.
